provider=none forces not using a token.

master
Luka Vandervelden 2019-11-16 13:25:00 +01:00
parent caeb5fcb70
commit 00dc153121
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ commands.push "add", "Adds a service to an environment." do |context, args|
if provider.nil?
provider = service.get_default_provider token.token
elsif provider == "none"
provider = nil
end
next if provider.nil? && token.optional