From fdcae6e13a5ad6b95ebfb9c4905b655e455a3334 Mon Sep 17 00:00:00 2001 From: sophia Date: Thu, 7 Jan 2021 10:30:32 -0600 Subject: [PATCH] Get a machine instance for action up --- .../commands/serve/service/provider_service.rb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/plugins/commands/serve/service/provider_service.rb b/plugins/commands/serve/service/provider_service.rb index e1a87550c..e5515a626 100644 --- a/plugins/commands/serve/service/provider_service.rb +++ b/plugins/commands/serve/service/provider_service.rb @@ -41,14 +41,18 @@ module VagrantPlugins def action_up_spec(req, _unused_call) LOG.debug("action up spec") - # resultSpec = Hashicorp::Vagrant::FuncSpec.Value.new( - # name: "", - # type: "" - # ) + args = [ + Hashicorp::Vagrant::Sdk::FuncSpec::Value.new( + type: "hashicorp.vagrant.sdk.Args.Machine", + name: "" + ), + ] + result = [ + nil, + ] Hashicorp::Vagrant::Sdk::FuncSpec.new( - name: "test", - args: [], - result: [] + args: args, + result: result ) end end