Use updated Remote UI class name

This commit is contained in:
Chris Roberts 2021-08-20 09:00:26 -07:00 committed by Paul Hinze
parent 04c1897869
commit 82549f5579
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ module VagrantPlugins
ui_client = Client::Terminal.load(raw_terminal, broker: broker)
env_client = Client::Project.load(raw_project, broker: broker)
ui = Vagrant::UI::RemoteUI.new(ui_client)
ui = Vagrant::UI::Remote.new(ui_client)
env = Vagrant::Environment.new(
{ui: ui, client: env_client}
)
@ -80,7 +80,7 @@ module VagrantPlugins
cmd_args = req.command_args.to_a[1..] + arguments.args.to_a
cmd = cmd_klass.new(cmd_args, env)
result = cmd.execute
if !result.is_a?(Integer)
result = 1
end

View File

@ -118,7 +118,7 @@ module VagrantPlugins
a.type == "hashicorp.vagrant.sdk.Args.TerminalUI"
}&.value&.value
ui_client = Client::Terminal.load(raw_terminal, broker: broker)
ui = Vagrant::UI::RemoteUI.new(ui_client)
ui = Vagrant::UI::Remote.new(ui_client)
p = Vagrant::Host.new(
plugin_name.to_sym,