From 927fd5e52f93a1fdc75b6090441322fcd5039b22 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 17 Aug 2021 12:51:30 -0700 Subject: [PATCH] Remove proto requires They will only be needed when running in server mode, and when in server mode, they will be loaded at startup --- lib/vagrant/plugin/v2/config.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/vagrant/plugin/v2/config.rb b/lib/vagrant/plugin/v2/config.rb index 1c1ca0fd2..e113de0b2 100644 --- a/lib/vagrant/plugin/v2/config.rb +++ b/lib/vagrant/plugin/v2/config.rb @@ -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)