From b327dbe7d875e97f200894fdca22a1dce8e04c47 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 17 Nov 2021 14:50:04 -0800 Subject: [PATCH] Add resource_id method to project client --- plugins/commands/serve/client/project.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/commands/serve/client/project.rb b/plugins/commands/serve/client/project.rb index 2f677b294..7bd1abf19 100644 --- a/plugins/commands/serve/client/project.rb +++ b/plugins/commands/serve/client/project.rb @@ -64,6 +64,11 @@ module VagrantPlugins Host.load(h, broker: broker) end + # @return [String] resource identifier for this target + def resource_id + client.resource_id(Empty.new).resource_id + end + # return [] def target_names resp = client.target_names(Empty.new)