Skip to content

Commit

Permalink
lint error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 committed Oct 7, 2024
1 parent f59cbb8 commit 9b280b2
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.Sprintf("multipath output: %s" + string(textBytes)))
log.Debugf("multipath output: %s" + 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 github.com/sirupsen/logrus.Debugf (govet)
}
return textBytes, err
}
Expand Down

0 comments on commit 9b280b2

Please sign in to comment.