f1f201c234
Previously, the `promote` command in the `rds` module would always return OK and never actually promote an instance. This was because `promote_db_instance()` had its conditions backwards: if the instance had the `replication_source` attribute indicating that it **was** a replica, it would set `changed = False` and do nothing. If the instance **wasn't** a replica, it would attempt to run `boto.rds.promote_read_replica()`, which would always fail. |
||
---|---|---|
.. | ||
amazon | ||
azure | ||
digital_ocean | ||
docker | ||
linode | ||
openstack | ||
rackspace | ||
vmware | ||
__init__.py |