Do not provide environment to capability call

This commit is contained in:
Chris Roberts 2021-10-15 10:05:10 -07:00 committed by Paul Hinze
parent c92e283e7a
commit 61c3134928
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -32,7 +32,7 @@ module Vagrant
# @param [Symbol] cap_name Name of the capability
def capability(cap_name, *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
# Tests whether the given capability is possible.