Skip to content

Commit

Permalink
Merge branch 'main' into refactor-jimm-add-model
Browse files Browse the repository at this point in the history
  • Loading branch information
alesstimec authored Feb 17, 2023
2 parents b38e3f3 + 0b819ad commit b7ac8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/jimmctl/cmd/modelstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (c *modelStatusCommand) SetFlags(f *gnuflag.FlagSet) {

// Init implements the cmd.Command interface.
func (c *modelStatusCommand) Init(args []string) error {
if len(args) < 0 {
if len(args) < 1 {
return errors.E("missing model uuid")
}
c.modelUUID, args = args[0], args[1:]
Expand Down

0 comments on commit b7ac8aa

Please sign in to comment.