deployment.sentry['foo/0'] is now returning a list
Bug #1512242 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Amulet |
Invalid
|
Undecided
|
Unassigned |
Bug Description
deployment.
To post a comment you must log in.
Not quite.
deployment. sentry[ 'foo/0' ] returns an empty list if the foo/0 unit does not exist. The Cassandra tests stopped passing because it assumed the first unit in a deployed service would be cassandra/0, but that has changed with Juju 1.25 where unit numbers will not be reused if you destroy a service and create another with the same name.