Skip to content

Commit

Permalink
Fixes --gateway override which was ignored when using YAML
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis <[email protected]>
  • Loading branch information
alexellis committed Oct 16, 2017
1 parent e804a60 commit fe0b893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func runDeploy(cmd *cobra.Command, args []string) {
}

// Override gateway if passed
if len(gateway) > 0 && gateway != defaultGateway {
if len(gateway) > 0 && gateway != parsedServices.Provider.GatewayURL {
parsedServices.Provider.GatewayURL = gateway
}

Expand Down

0 comments on commit fe0b893

Please sign in to comment.