diff --git a/plugins/commands/serve/service.rb b/plugins/commands/serve/service.rb index f56742479..31fe795f3 100644 --- a/plugins/commands/serve/service.rb +++ b/plugins/commands/serve/service.rb @@ -4,8 +4,6 @@ module VagrantPlugins module CommandServe module Service class << self - attr_reader :cache - def method_missing(name, *args) if name == :ProtoService return protoService(*args) @@ -34,17 +32,16 @@ module VagrantPlugins end def cache - Service.cache + CommandServe.cache end end end 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 + autoload :ConfigService, Vagrant.source_root.join("plugins/commands/serve/service/config_service").to_s autoload :GuestService, Vagrant.source_root.join("plugins/commands/serve/service/guest_service").to_s autoload :HostService, Vagrant.source_root.join("plugins/commands/serve/service/host_service").to_s autoload :InternalService, Vagrant.source_root.join("plugins/commands/serve/service/internal_service").to_s