Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 committed Oct 7, 2024
1 parent 6b724a7 commit f7b6b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gofsutil_mount_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ func (fs *FS) multipathCommand(ctx context.Context, timeoutSeconds time.Duration
log.Error("multipath command failed: " + err.Error())
}
if len(textBytes) > 0 {
log.Debug(fmt.Printf("multipath output: " + string(textBytes)))
log.Debug(fmt.Sprintf("multipath output: " + string(textBytes)))

Check failure on line 574 in gofsutil_mount_unix.go

View workflow job for this annotation

GitHub Actions / golangci-lint

printf: non-constant format string in call to fmt.Sprintf (govet)
}
return textBytes, err
}
Expand Down

0 comments on commit f7b6b4a

Please sign in to comment.