deployment.sentry['foo/0'] is now returning a list

Bug #1512242 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Amulet
Invalid
Undecided
Unassigned

Bug Description

deployment.sentry['foo/0'] now appears to return a list, where previously it would return a Sentry object. This is causing the lp:charms/trusty/cassandra tests to fail.

Revision history for this message
Stuart Bishop (stub) wrote :

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.

Changed in amulet:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.