* 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:
@@ -2,7 +2,6 @@ package util
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/fs"
|
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@@ -167,5 +166,5 @@ func isLink(name string) (bool, error) {
|
|||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return fi.Mode()&fs.ModeSymlink != 0, nil
|
return fi.Mode()&os.ModeSymlink != 0, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user