1.1.0
This commit is contained in:
@@ -284,10 +284,6 @@ func (r *resourceDiskReplication) Delete(ctx context.Context, req resource.Delet
|
||||
Permanently: state.Permanently.ValueBool(), // default false
|
||||
}
|
||||
|
||||
if !state.Reason.IsNull() {
|
||||
delReq.Reason = state.Reason.ValueString()
|
||||
}
|
||||
|
||||
tflog.Info(ctx, "Delete resourceDiskReplication: before call CloudAPI().Disks().Delete", map[string]any{"req": delReq})
|
||||
_, err := r.client.CloudAPI().Disks().Delete(ctx, delReq)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user