Skip to content

Commit

Permalink
fix command name
Browse files Browse the repository at this point in the history
  • Loading branch information
tashima42 committed Aug 7, 2024
1 parent fae45b7 commit 22506f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/release/cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var rancherGenerateArtifactsIndexSubCmd = &cobra.Command{
}

var rancherGenerateMissingImagesListSubCmd = &cobra.Command{
Use: "missing-images-list [version]",
Use: "missing-images-list",
Short: "Generate a missing images list",
RunE: func(cmd *cobra.Command, args []string) error {
if len(checkImages) == 0 && imagesListURL == "" {
Expand Down
2 changes: 1 addition & 1 deletion release/rancher/rancher.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ func validateRepoImage(repoImage string) error {
return errors.New("malformed image name, missing '/' " + repoImage)
}
if strings.Contains(repoImage, ":") {
return errors.New("malformed image name, the repo and image name shouldn't contain versions + " + repoImage)
return errors.New("malformed image name, the repo and image name shouldn't contain versions: " + repoImage)
}
return nil
}
Expand Down

0 comments on commit 22506f8

Please sign in to comment.