Remove proto requires

They will only be needed when running in server mode, and when
in server mode, they will be loaded at startup
This commit is contained in:
Chris Roberts 2021-08-17 12:51:30 -07:00 committed by Paul Hinze
parent b609a44452
commit 927fd5e52f
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -1,7 +1,4 @@
require "set"
require "vagrant/protobufs/proto/protostructure_pb"
require "vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb"
require "vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb"
module Vagrant
module Plugin
@ -160,7 +157,7 @@ module Vagrant
m[k] = v.to_s if v.is_a?(Symbol)
end
end
def clean_up_config_object(config)
protoize = config
stringify_symbols(protoize)