Skip to content

Commit

Permalink
Changed InsecureRegistry to InsecureRegistries
Browse files Browse the repository at this point in the history
Signed-off-by: Domenico Luciani <[email protected]>
  • Loading branch information
Domenico Luciani committed Aug 18, 2023
1 parent dc71c50 commit f7a9f4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/lifecycle/cli/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ func FlagForceRebase(force *bool) {
flagSet.BoolVar(force, "force", *force, "execute rebase even if operation is unsafe")
}

// FlagInsecureRegistry sets insecure-registry parameter as available
func FlagInsecureRegistry(insecureRegistries *str.Slice) {
// FlagInsecureRegistries sets insecure-registry parameter as available
func FlagInsecureRegistries(insecureRegistries *str.Slice) {
flagSet.Var(insecureRegistries, "insecure-registry", "insecure registries")
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/lifecycle/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *createCmd) DefineFlags() {
cli.FlagTags(&c.AdditionalTags)
cli.FlagUID(&c.UID)
cli.FlagUseDaemon(&c.UseDaemon)
cli.FlagInsecureRegistry(&c.InsecureRegistries)
cli.FlagInsecureRegistries(&c.InsecureRegistries)
}

// Args validates arguments and flags, and fills in default values.
Expand Down

0 comments on commit f7a9f4c

Please sign in to comment.