Skip to content

Commit 7cb7932

Browse files
committed
lint fix
1 parent 6ea7bcf commit 7cb7932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (ctrl *Controller) renderIndexPage(dir http.FileSystem, rw http.ResponseWri
145145
if extraMetadataPath != "" {
146146
b, err = ioutil.ReadFile(extraMetadataPath)
147147
if err != nil {
148-
logrus.Error("failed to read file at %s", extraMetadataPath)
148+
logrus.Errorf("failed to read file at %s", extraMetadataPath)
149149
}
150150
extraMetadataStr = string(b)
151151
}

0 commit comments

Comments
 (0)