Skip to content

Commit

Permalink
use validated deploy args to deploy instead of defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Simmons <[email protected]>
  • Loading branch information
crsimmons committed Mar 5, 2019
1 parent d02a292 commit 29f8064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ var deployCmd = cli.Command{
if err != nil {
return fmt.Errorf("Error mapping to supported IAASes on deploy: [%v]", err)
}
provider, err := iaas.New(iaasName, initialDeployArgs.Region)
provider, err := iaas.New(iaasName, deployArgs.Region)
if err != nil {
return fmt.Errorf("Error creating IAAS provider on deploy: [%v]", err)
}
return deployAction(c, initialDeployArgs, provider)
return deployAction(c, deployArgs, provider)
},
}

0 comments on commit 29f8064

Please sign in to comment.