provider=none forces not using a token.
This commit is contained in:
parent
caeb5fcb70
commit
00dc153121
@ -91,6 +91,8 @@ commands.push "add", "Adds a service to an environment." do |context, args|
|
|||||||
|
|
||||||
if provider.nil?
|
if provider.nil?
|
||||||
provider = service.get_default_provider token.token
|
provider = service.get_default_provider token.token
|
||||||
|
elsif provider == "none"
|
||||||
|
provider = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
next if provider.nil? && token.optional
|
next if provider.nil? && token.optional
|
||||||
|
Loading…
Reference in New Issue
Block a user