* use sdktrace instead of trace for opentelemetry to avoid conflicts

* disable opentelemetry for right now

* use os.ModeSymlink instead of fs.ModeSymlink for backward compatibility
This commit is contained in:
Kevin Wan
2021-09-07 15:38:40 +08:00
committed by GitHub
parent bdec5f2349
commit 96a35ecf1a

View File

@@ -2,7 +2,6 @@ package util
import (
"fmt"
"io/fs"
"os"
"path"
"path/filepath"
@@ -167,5 +166,5 @@ func isLink(name string) (bool, error) {
return false, err
}
return fi.Mode()&fs.ModeSymlink != 0, nil
return fi.Mode()&os.ModeSymlink != 0, nil
}