Do not provide environment to capability call
This commit is contained in:
parent
c92e283e7a
commit
61c3134928
@ -32,7 +32,7 @@ module Vagrant
|
|||||||
# @param [Symbol] cap_name Name of the capability
|
# @param [Symbol] cap_name Name of the capability
|
||||||
def capability(cap_name, *args)
|
def capability(cap_name, *args)
|
||||||
@logger.debug("running remote host capability #{cap_name} with args #{args}")
|
@logger.debug("running remote host capability #{cap_name} with args #{args}")
|
||||||
client.capability(cap_name, @env.to_proto, *args)
|
client.capability(cap_name, *args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Tests whether the given capability is possible.
|
# Tests whether the given capability is possible.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user