Skip to content

Commit e1c9375

Browse files
committed
cmd/oci-runtime-tool: fix govet warning
Found by golangci-lint v1.60.1: cmd/oci-runtime-tool/main.go:59:17: printf: non-constant format string in call to github.com/sirupsen/logrus.Fatalf (govet) logrus.Fatalf(err.Error()) ^ Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 6c9570a commit e1c9375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/oci-runtime-tool/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func before(context *cli.Context) error {
5656
logLevelString := context.GlobalString("log-level")
5757
logLevel, err := logrus.ParseLevel(logLevelString)
5858
if err != nil {
59-
logrus.Fatalf(err.Error())
59+
logrus.Fatal(err)
6060
}
6161
logrus.SetLevel(logLevel)
6262

0 commit comments

Comments
 (0)