go1.19: switch to new nolint directive that is compatible with Go 1.19 gofmt
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
//nolint[:deadcode,unused]
|
||||
//nolint:deadcode,unused
|
||||
func debug(format string, args ...interface{}) {
|
||||
if debugEnabled {
|
||||
fmt.Fprintf(os.Stderr, "zfs: %s\n", fmt.Sprintf(format, args...))
|
||||
|
||||
Reference in New Issue
Block a user