Skip to content

Commit d7a1d4b

Browse files
builder/vsphere: fix linter issues
With the 1.60.1 update to golangci-lint and the configuration changes, some more linting errors were reported by the linter now, so we fix those that appeared.
1 parent 4f460d1 commit d7a1d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: builder/vsphere/supervisor/step_import_image.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ func (s *StepImportImage) Cleanup(state multistep.StateBag) {
211211
if err := s.KubeWatchClient.Delete(ctx, importedImage); err != nil {
212212
logger.Error("error deleting the ContentLibraryItem object %s: %s", s.ImportItemResourceName, err)
213213
} else {
214-
logger.Info(fmt.Sprintf("Successfully deleted the ContentLibraryItem object %s in namespace %s.",
215-
s.ImportItemResourceName, s.Namespace))
214+
logger.Info("Successfully deleted the ContentLibraryItem object %s in namespace %s.",
215+
s.ImportItemResourceName, s.Namespace)
216216
}
217217
}
218218
}

0 commit comments

Comments
 (0)