* 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
master
Kevin Wan 3 years ago committed by GitHub
parent bdec5f2349
commit 96a35ecf1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}

Loading…
Cancel
Save