Skip to content

Commit

Permalink
fix: build failing at lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rkpattnaik780 committed Apr 19, 2022
1 parent 65a7946 commit 1ac77fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/connector/cluster/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func NewCreateCommand(f *factory.Factory) *cobra.Command {
flags.StringVar(&opts.name, "name", "", f.Localizer.MustLocalize("connector.cluster.create.flag.name.description"))
flags.AddOutput(&opts.outputFormat)

cmd.MarkFlagRequired("name")
_ = cmd.MarkFlagRequired("name")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/connector/cluster/delete/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewDeleteCommand(f *factory.Factory) *cobra.Command {
flags.AddOutput(&opts.outputFormat)
flags.AddYes(&opts.skipConfirm)

cmd.MarkFlagRequired("id")
_ = cmd.MarkFlagRequired("id")

return cmd
}
Expand Down

0 comments on commit 1ac77fb

Please sign in to comment.