forked from openstack-charmers/zaza
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find subordinates reading from top level tree.
This patch changes the way subordinates are filtered, since juju-2.9 doesn't populate the 'charm' key within the 'subordinates' key in the principal, so instead this change uses the unit id to get the app name and read the 'charm' value from the 'applications' section. This functionality is behind a feature a flag, if the environment variable TEST_ZAZA_BUG_LP1987332 is set to anything that evaluates to true, then this new code path is executed. Related-Bug: #1987332 (cherry picked from commit fc26818)
- Loading branch information
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters