Skip to content

Commit

Permalink
Update status.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyak423 committed Jun 24, 2024
1 parent 4ac7b43 commit f9aaa5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ var statusCmd = &cobra.Command{
}
validator := func(input string) error {
if input == "" {
return errors.New("Invalid summon tenant name or microservice name")
return errors.New("Invalid summon tenant name")
}
if strings.Contains(input, " ") {
return errors.New("Remove white-spaces from input [" + input + "]")
}
return nil
}
instanceNamePromt := promptui.Prompt{
Label: "Enter summon tenant(sandbox-dev)/microservice(svc-us-master-microservice) name",
Label: "Enter summon tenant (sandbox-dev) name",
Validate: validator,
}
name, err := instanceNamePromt.Run()
Expand Down

0 comments on commit f9aaa5c

Please sign in to comment.