lib/conjur/cli.rb in conjur-cli-4.1.0 vs lib/conjur/cli.rb in conjur-cli-4.1.1
- old
+ new
@@ -48,11 +48,11 @@
commands_from 'conjur/command'
pre do |global,command,options,args|
ENV['CONJUR_ENV'] = Config[:env] || "production"
ENV['CONJUR_STACK'] = Config[:stack] if Config[:stack]
- ENV['CONJUR_STACK'] ||= 'v3' if ENV['CONJUR_ENV'] == 'production'
+ ENV['CONJUR_STACK'] ||= 'v4' if ENV['CONJUR_ENV'] == 'production'
ENV['CONJUR_ACCOUNT'] = Config[:account] or raise "Missing configuration setting: account. Please set it in ~/.conjurrc"
if Conjur.log
Conjur.log << "Using host #{Conjur::Authn::API.host}\n"
end
@@ -86,6 +86,6 @@
end
end
true
end
end
-end
\ No newline at end of file
+end