Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update err msg wording (#19753)

p0ny13388e8a67b4
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.go
index eedd0b860f..8de319c705 100644
--- a/backend/api/v1/instance_service.go
+++ b/backend/api/v1/instance_service.go
@@ -439,7 +439,7 @@ func (s *InstanceService) DeleteInstance(ctx context.Context, req *connect.Reque
if req.Msg.Purge {
// Following AIP-165, purge only works on already soft-deleted instances
if !instance.Deleted {
- return nil, connect.NewError(connect.CodeFailedPrecondition, errors.Errorf("instance %q must be soft-deleted before it can be purged", req.Msg.Name))
+ return nil, connect.NewError(connect.CodeFailedPrecondition, errors.Errorf("instance %q must be archived before it can be deleted", req.Msg.Name))
}
// Permanently delete the instance and all related resources