From 851955e1d47c689c8f86b0f6e76eaaf0c31da1cc Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 20 Jan 2021 09:17:04 -0800 Subject: [PATCH] Add command service --- plugins/commands/serve/command.rb | 1 + plugins/commands/serve/service/command_service.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/commands/serve/command.rb b/plugins/commands/serve/command.rb index 2acdc3bc2..4f75ae271 100644 --- a/plugins/commands/serve/command.rb +++ b/plugins/commands/serve/command.rb @@ -58,6 +58,7 @@ module VagrantPlugins s.handle(VagrantPlugins::CommandServe::Serve::ProviderService.new) s.handle(Service::InternalService.new) s.handle(Service::HostService.new) + s.handle(Service::CommandService.new) health_checker = Grpc::Health::Checker.new health_checker.add_status( diff --git a/plugins/commands/serve/service/command_service.rb b/plugins/commands/serve/service/command_service.rb index f884602d6..cd12cfd0c 100644 --- a/plugins/commands/serve/service/command_service.rb +++ b/plugins/commands/serve/service/command_service.rb @@ -19,6 +19,7 @@ module VagrantPlugins end def synopsis_spec(*args) + return Hashicorp::Vagrant::Sdk::FuncSpec.new Hashicorp::Vagrant::Sdk::FuncSpec.new( name: "synopsis", result: [