From d070b2cc6f81aa125350730ecfb66bee33bd2649 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 18 Feb 2022 16:43:00 -0800 Subject: [PATCH] Initialize cache in the proper location within Service class --- plugins/commands/serve/service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/serve/service.rb b/plugins/commands/serve/service.rb index f55eef671..f56742479 100644 --- a/plugins/commands/serve/service.rb +++ b/plugins/commands/serve/service.rb @@ -38,10 +38,10 @@ module VagrantPlugins end end end - - @cache = Util::Cacher.new end + @cache = Util::Cacher.new + autoload :CapabilityPlatformService, Vagrant.source_root.join("plugins/commands/serve/service/capability_platform_service").to_s autoload :CommandService, Vagrant.source_root.join("plugins/commands/serve/service/command_service").to_s autoload :CommunicatorService, Vagrant.source_root.join("plugins/commands/serve/service/communicator_service").to_s