Machine proto arg is within target

This commit is contained in:
Chris Roberts 2021-11-19 17:16:29 -08:00 committed by Paul Hinze
parent da8572cb45
commit f07ef26a64
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -25,7 +25,7 @@ module VagrantPlugins
def initialize
inputs = [].tap do |i|
i << Input.new(type: SDK::FuncSpec::Value) { |arg|
arg.type == "hashicorp.vagrant.sdk.Args.Machine" &&
arg.type == "hashicorp.vagrant.sdk.Args.Target.Machine" &&
!arg&.value&.value.nil?
}
i << Input.new(type: Broker)