Skip to content

Commit

Permalink
Fix additional disks being auto-deleted unless a disk type is specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgavin committed Oct 9, 2019
1 parent 9e8df20 commit 04b4bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-google/action/run_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def call(env) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize

# Get additional disk auto delete
additional_disk_auto_delete = nil
if disk_config[:disk_type].nil?
if disk_config[:autodelete_disk].nil?
# Default auto delete to true
additional_disk_auto_delete = true
else
Expand Down

0 comments on commit 04b4bd4

Please sign in to comment.