Fix verbage around why we are disallowing removing a primary

This commit is contained in:
Matthew Jones 2015-06-26 15:22:35 -04:00
parent 40f0548fe7
commit 237a661912

View File

@ -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()