You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Could not read phone emergency address %s, unexpected error: %s",
366
-
state.ID.ValueString(),
367
-
err.Error(),
368
-
),
369
-
)
370
-
return
371
-
}
372
-
373
-
// If the resource is already deleted, allow the operation
374
-
ifexisting==nil {
375
-
return
376
-
}
377
-
378
-
resp.Diagnostics.AddError(
379
-
"Cannot delete linked to a site and default emergency address",
380
-
"The emergency address is set as default and cannot be deleted. If this emergency address is linked to a site, it will be automatically deleted when the site itself is deleted.",
381
-
)
382
-
return
383
-
}
384
-
return
385
-
}
386
-
387
-
// For non-delete operations, get both plan and state
// // If the resource is already deleted, allow the operation
380
+
// if existing == nil {
381
+
// return
382
+
// }
383
+
384
+
// resp.Diagnostics.AddError(
385
+
// "Cannot delete linked to a site and default emergency address",
386
+
// "The emergency address is set as default and cannot be deleted. If this emergency address is linked to a site, it will be automatically deleted when the site itself is deleted.",
0 commit comments