From 52d37217acdec6e39b8aa52bf201d57ca5627a44 Mon Sep 17 00:00:00 2001 From: sophia Date: Tue, 28 Jun 2022 16:26:52 -0500 Subject: [PATCH] Use cache from CommandServe module --- lib/vagrant/plugin/remote/manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/plugin/remote/manager.rb b/lib/vagrant/plugin/remote/manager.rb index 3a4887408..e0883fe3a 100644 --- a/lib/vagrant/plugin/remote/manager.rb +++ b/lib/vagrant/plugin/remote/manager.rb @@ -92,7 +92,7 @@ module Vagrant klass = get_local_plugin return super if klass.nil? @logger.debug("found local plugin class #{self.class.name} -> #{klass.name}") - c = VagrantPlugins::CommandServe::Service.cache + c = VagrantPlugins::CommandServe.cache key = c.key(klass, *@init[0]) if !c.registered?(key) @logger.debug("creating new local plugin instance of #{klass} with args: #{@init}")