From 2fa095f30ca2a02bf4024617b3fb3fecfab16a2c Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 1 Dec 2014 12:51:22 -0800 Subject: better secrets.json compile when environment is pinned. --- lib/leap_cli/commands/compile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/commands') diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb index 67d1bb6..78d7520 100644 --- a/lib/leap_cli/commands/compile.rb +++ b/lib/leap_cli/commands/compile.rb @@ -40,7 +40,7 @@ module LeapCli manager.export_nodes(nodes) # a "clean" export of secrets will also remove keys that are no longer used, # but this should not be done if we are not examining all possible nodes. - clean_export = LeapCli.leapfile.environment.nil? && nodes.nil? + clean_export = nodes.nil? manager.export_secrets(clean_export) end -- cgit v1.2.3