Fixes misleading message after stop deploying
Added instruction for making changes if user wants to redeploy env. Change-Id: I54513b85a2e1c9bd22bd801c131cdbaa48641332 Closes-Bug: #1502086 Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
parent
fe7fe7d082
commit
f9cb1bcda9
|
@ -623,7 +623,8 @@ class NailgunReceiver(object):
|
|||
|
||||
message = (
|
||||
u"Deployment of environment '{0}' was successfully stopped. "
|
||||
u"Please reset the environment if you want to redeploy it."
|
||||
u"Please make changes and reset the environment "
|
||||
u"if you want to redeploy it."
|
||||
.format(task.cluster.name or task.cluster_id)
|
||||
)
|
||||
|
||||
|
|
|
@ -75,7 +75,8 @@ class TestStopDeployment(BaseIntegrationTest):
|
|||
|
||||
self.assertRegexpMatches(
|
||||
notification.message,
|
||||
'Please reset the environment if you want to redeploy it.')
|
||||
'Please make changes and reset the environment '
|
||||
'if you want to redeploy it.')
|
||||
|
||||
@fake_tasks(fake_rpc=False, mock_rpc=False)
|
||||
@patch('nailgun.rpc.cast')
|
||||
|
|
Loading…
Reference in New Issue