From d3fcd766ea6d6a21d892f3fab264606dfacf14a7 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 10 Mar 2013 18:06:32 -0700 Subject: fixed misc. bugs with switch to 'environment' flag. --- lib/leap_cli/commands/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/commands/deploy.rb') 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 -- cgit v1.2.3