Skip to content

Commit

Permalink
fix(cluster/tree): make cluster id required
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Aug 19, 2022
1 parent ea7529e commit c019452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhoc/pkg/cmd/clusters/tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewTreeCommand(f *factory.Factory) *cobra.Command {
cmdutil.AddAllPages(cmd, &opts.AllPages)
cmdutil.AddOrderBy(cmd, &opts.OrderBy)
cmdutil.AddSearch(cmd, &opts.Search)
cmdutil.AddID(cmd, &opts.id)
cmdutil.AddID(cmd, &opts.id).Required()

return cmd
}
Expand Down

0 comments on commit c019452

Please sign in to comment.