Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/command/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ var generateCmd = &cobra.Command{
slog.Info(fmt.Sprintf("Set container image for container '%s' to %s from --%s", containerName, v, generateCmdImageFlag))
workload.Containers[containerName] = container
} else {
return fmt.Errorf("failed to convert '%s' because container '%s' has no image and --image was not provided: %w", arg, containerName, err)
return fmt.Errorf("failed to convert '%s' because container '%s' has no image and --image was not provided", arg, containerName)
}
}
}
Expand Down Expand Up @@ -223,6 +223,6 @@ func init() {
generateCmd.Flags().StringP(generateCmdOutputFlag, "o", "manifests.yaml", "The output manifests file to write the manifests to")
generateCmd.Flags().String(generateCmdOverridesFileFlag, "", "An optional file of Score overrides to merge in")
generateCmd.Flags().StringArray(generateCmdOverridePropertyFlag, []string{}, "An optional set of path=key overrides to set or remove")
generateCmd.Flags().String(generateCmdImageFlag, "", "An optional container image to use for any container with image == '.'")
generateCmd.Flags().StringP(generateCmdImageFlag, "i", "", "An optional container image to use for any container with image == '.'")
rootCmd.AddCommand(generateCmd)
}
Loading