diff --git a/karbor/services/operationengine/operations/protect_operation.py b/karbor/services/operationengine/operations/protect_operation.py index 6a76969d..aed6731b 100644 --- a/karbor/services/operationengine/operations/protect_operation.py +++ b/karbor/services/operationengine/operations/protect_operation.py @@ -38,7 +38,7 @@ class ProtectOperation(base.Operation): plan = objects.Plan.get_by_id(context.get_admin_context(), plan_id) if provider_id != plan.provider_id: - reason = _("Provider_id is invalid") + reason = _("Provider_id is conflict") raise exception.InvalidOperationDefinition(reason=reason) def _execute(self, operation_definition, param):