Merge "Protect, restore success message reflect async"

This commit is contained in:
Jenkins
2016-09-22 10:53:04 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class RestoreCheckpointForm(horizon_forms.SelfHandlingForm):
checkpoint_id=data["checkpoint_id"],
restore_target=data["restore_target"],
parameters=json.loads(data["parameters"]))
messages.success(request, _("Checkpoint restored successfully."))
messages.success(request, _("Checkpoint restore initiated."))
return new_restore
except Exception:
exceptions.handle(request, _('Unable to restore checkpoint.'))

View File

@@ -61,7 +61,7 @@ class ProtectNowLink(tables.Action):
new_checkpoint = karborclient.checkpoint_create(request,
provider_id,
datum_id)
messages.success(request, _("Protect now successfully."))
messages.success(request, _("Plan protection initiated"))
return new_checkpoint
except Exception:
exceptions.handle(request, _('Unable to protect now'))