This commit is contained in:
asteam
2024-12-04 13:18:58 +03:00
parent 003e4d656e
commit 76ea459b3d
417 changed files with 30051 additions and 975 deletions

View File

@@ -312,10 +312,6 @@ func (r *resourceDisk) Delete(ctx context.Context, req resource.DeleteRequest, r
Permanently: state.Permanently.ValueBool(), // default false
}
if !state.Reason.IsNull() {
delReq.Reason = state.Reason.ValueString()
}
tflog.Info(ctx, "Delete resourceDisk: before call CloudAPI().Disks().Delete", map[string]any{"req": delReq})
_, err := r.client.CloudAPI().Disks().Delete(ctx, delReq)
if err != nil {