From 22e34e87e96f9dfd8eb861d9200ae8572811491c Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 29 Oct 2021 08:59:03 -0700 Subject: [PATCH] Include a #to_proto method for all clients --- plugins/commands/serve/util/client_setup.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/commands/serve/util/client_setup.rb b/plugins/commands/serve/util/client_setup.rb index bf82775e4..328462bec 100644 --- a/plugins/commands/serve/util/client_setup.rb +++ b/plugins/commands/serve/util/client_setup.rb @@ -29,6 +29,10 @@ module VagrantPlugins end @client = srv_klass.new(conn, :this_channel_is_insecure) end + + def to_proto + @proto + end end end end