Skip to content

Commit

Permalink
fix: cloud list style (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Aug 12, 2022
1 parent bb6c84a commit 1556a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cloud_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func (cl *CloudListCommand) Init() {
}

func (cl *CloudListCommand) runCloudList(cmd *cobra.Command, args []string) error {
provider, err := cl.command.Flags().GetString("provider")
regionID, err := cl.command.Flags().GetString("region_id")
provider, _ := cl.command.Flags().GetString("provider")
regionID, _ := cl.command.Flags().GetString("region_id")
var num int
if provider == "" {
num = selectCloud(Clouds, "Select Cloud")
Expand Down

0 comments on commit 1556a76

Please sign in to comment.