Merge pull request #3020 from lheinlen-os/nil_machine_id
core: do not to_s the machine id if it is nil
This commit is contained in:
commit
d7e61a19f2
|
@ -230,7 +230,7 @@ module Vagrant
|
|||
end
|
||||
|
||||
# Store the ID locally
|
||||
@id = value.to_s
|
||||
@id = value.nil? ? nil : value.to_s
|
||||
|
||||
# Notify the provider that the ID changed in case it needs to do
|
||||
# any accounting from it.
|
||||
|
|
Loading…
Reference in New Issue