mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[google|compute] disk model: Default get_object auto_delete to false
This commit is contained in:
parent
0065c8ba6b
commit
64edb7e009
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module Fog
|
|||
|
||||
# auto_delete can only be applied to disks created before instance creation.
|
||||
# auto_delete = true will automatically delete disk upon instance termination.
|
||||
def get_object(writable=true, boot=false, device_name=nil, auto_delete=nil)
|
||||
def get_object(writable=true, boot=false, device_name=nil, auto_delete=false)
|
||||
mode = writable ? 'READ_WRITE' : 'READ_ONLY'
|
||||
value = {
|
||||
'autoDelete' => auto_delete,
|
||||
|
|
Loading…
Add table
Reference in a new issue