Don't send nil machine id value

This commit is contained in:
sophia 2021-12-13 16:40:33 -06:00 committed by Paul Hinze
parent 31e57414b4
commit 3c20f826ea
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -73,6 +73,9 @@ module VagrantPlugins
#
# @param [String] new_id New machine ID
def set_id(new_id)
if new_id.nil?
new_id = ""
end
client.set_id(
SDK::Target::Machine::SetIDRequest.new(
id: new_id