Skip to content

Commit c49e950

Browse files
authored
fix: unformatted image override message (#140)
Signed-off-by: Ben Meier <[email protected]>
1 parent bcc2a92 commit c49e950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ arguments.
178178
if container.Image == "." {
179179
if v, _ := cmd.Flags().GetString(generateCmdImageFlag); v != "" {
180180
container.Image = v
181-
slog.Info("Set container image for workload '%s' container '%s' to %s from --%s", workloadName, containerName, v, generateCmdImageFlag)
181+
slog.Info(fmt.Sprintf("Set container image for workload '%s' container '%s' to %s from --%s", workloadName, containerName, v, generateCmdImageFlag))
182182
out.Containers[containerName] = container
183183
} else if _, ok := containerBuildContexts[containerName]; !ok {
184184
return fmt.Errorf("failed to convert '%s' because container '%s' has no image and neither --%s nor --%s was provided", workloadName, containerName, generateCmdImageFlag, generateCmdBuildFlag)

0 commit comments

Comments
 (0)