Clean up machine client

This commit is contained in:
sophia 2022-03-04 14:36:54 -06:00 committed by Paul Hinze
parent 29d5b3627d
commit b6d42d0695
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -32,7 +32,6 @@ module VagrantPlugins
# @return [Communicator] machine communicator
def communicate
logger.debug("Getting guest from remote machine")
c = client.communicate(Empty.new)
Communicator.load(c, broker: broker)
end
@ -40,7 +39,6 @@ module VagrantPlugins
# @return [Guest] machine guest
# TODO: This needs to be loaded properly
def guest
logger.debug("Getting guest from remote machine")
g = client.guest(Empty.new)
Guest.load(g, broker: broker)
end
@ -120,7 +118,7 @@ module VagrantPlugins
# @return [Integer] user ID that owns machine
def uid
client.uid(Empty.new).uid
client.uid(Empty.new).user_id
end
def _cleaned_folder_hash(folder)