From 237a66191295cce2cd52d78bcdb7cbe57e399e56 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Fri, 26 Jun 2015 15:22:35 -0400 Subject: [PATCH] Fix verbage around why we are disallowing removing a primary --- awx/main/management/commands/remove_instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/management/commands/remove_instance.py b/awx/main/management/commands/remove_instance.py index bcbd757b41..6eb5c35a02 100644 --- a/awx/main/management/commands/remove_instance.py +++ b/awx/main/management/commands/remove_instance.py @@ -33,7 +33,7 @@ class Command(BaseCommandInstance): # Sanity check: Do not remove the primary instance. if instance.primary: - raise CommandError('I cowardly refuse to remove the primary instance %s.' % instance_str(instance)) + raise CommandError('Can not remove primary instance %s. Another instance must be promoted to primary first.' % instance_str(instance)) # Remove the instance. instance.delete()