Skip to content

Commit 41f3fe0

Browse files
author
Per Goncalves da Silva
committed
fixup some small lint issues
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 47b8e55 commit 41f3fe0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/operator-verify/manifests/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ func manifestsFunc(cmd *cobra.Command, args []string) {
6464

6565
for _, result := range nonEmptyResults {
6666
for _, err := range result.Errors {
67-
log.Errorf(err.Error())
67+
log.Error(err.Error())
6868
}
6969
for _, err := range result.Warnings {
70-
log.Warnf(err.Error())
70+
log.Warn(err.Error())
7171
}
7272
}
7373

pkg/validation/internal/multiarch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ func (data *multiArchValidator) checkNodeAffinity(images map[string][]platform)
513513
if !imagePlatformDataValid {
514514
// Node affinity info is missing from CSV (or invalid)
515515
data.warns = append(data.warns,
516-
fmt.Errorf("check if the CSV is missing a node affinity configuration for the image: %q. "+
516+
fmt.Errorf("check if the CSV is missing a node affinity configuration for the image: %q. ",
517517
image,
518518
))
519519
}

0 commit comments

Comments
 (0)