Skip to content

Commit

Permalink
Merge pull request #227 from chrisgavin/autodelete-fix
Browse files Browse the repository at this point in the history
Fix additional disks being auto-deleted unless a disk type is specified.
  • Loading branch information
Temikus authored Mar 25, 2020
2 parents 9e8df20 + 04b4bd4 commit 1577290
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 1577290

Please sign in to comment.