mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-24 20:38:34 +00:00
Remove redundant datastore ID
Signed-off-by: maidlover <117573165+maidl0ver@users.noreply.github.com>
This commit is contained in:
parent
6d250a48a6
commit
37b8f76b12
@ -2981,14 +2981,12 @@ func containerUpdate(ctx context.Context, d *schema.ResourceData, m interface{})
|
||||
rootFS.Volume = diskBlock[mkDiskDatastoreID].(string)
|
||||
|
||||
acl := types.CustomBool(diskBlock[mkDiskACL].(bool))
|
||||
_ = diskBlock[mkDiskDatastoreID].(string)
|
||||
mountOptions := diskBlock[mkDiskMountOptions].([]interface{})
|
||||
quota := types.CustomBool(diskBlock[mkDiskQuota].(bool))
|
||||
replicate := types.CustomBool(diskBlock[mkDiskReplicate].(bool))
|
||||
size := types.DiskSizeFromGigabytes(diskBlock[mkDiskSize].(int64))
|
||||
|
||||
rootFS.ACL = &acl
|
||||
//rootFS.Volume = id // TODO: These aren't the same thing (?)
|
||||
rootFS.Quota = "a
|
||||
rootFS.Replicate = &replicate
|
||||
rootFS.Size = size
|
||||
|
Loading…
Reference in New Issue
Block a user