diff options
author | elijah <elijah@riseup.net> | 2013-03-10 18:06:32 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-03-10 18:06:32 -0700 |
commit | d3fcd766ea6d6a21d892f3fab264606dfacf14a7 (patch) | |
tree | 12fbde94b27fc81df6d8105bd64677fab1a73fd6 /lib/leap_cli/commands/deploy.rb | |
parent | 48fd5f813b949fb0c9c19755d8389bbfcad3999b (diff) | |
download | leap_cli-d3fcd766ea6d6a21d892f3fab264606dfacf14a7.tar.gz leap_cli-d3fcd766ea6d6a21d892f3fab264606dfacf14a7.tar.bz2 |
fixed misc. bugs with switch to 'environment' flag.
Diffstat (limited to 'lib/leap_cli/commands/deploy.rb')
-rw-r--r-- | lib/leap_cli/commands/deploy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb index 065a111..d7f5df8 100644 --- a/lib/leap_cli/commands/deploy.rb +++ b/lib/leap_cli/commands/deploy.rb @@ -147,7 +147,7 @@ module LeapCli def filter_deploy_nodes(filter) nodes = manager.filter!(filter) if !leapfile.allow_production_deploy - nodes = nodes[:production => false] + nodes = nodes[:environment => "!production"] assert! nodes.any?, "Skipping deploy because @allow_production_deploy is disabled." end nodes |