summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
edc4190)
This fixes a bug where the information model for relations was referred
to as "vca-relations" rather than the proper "vca-relationships".
Change-Id: I3f961ab750df647e2d2086e887d7e9ac0a01c034
Signed-off-by: Adam Israel <adam.israel@canonical.com>
relation:
- provides: dataVM:db
requires: mgmtVM:app
relation:
- provides: dataVM:db
requires: mgmtVM:app
for cfg in configs:
if 'juju' in cfg:
juju = cfg['juju']
for cfg in configs:
if 'juju' in cfg:
juju = cfg['juju']
- if 'vca-relations' in juju and 'relation' in juju['vca-relations']:
- for rel in juju['vca-relations']['relation']:
+ if 'vca-relationships' in juju and 'relation' in juju['vca-relationships']:
+ for rel in juju['vca-relationships']['relation']:
try:
# get the application name for the provides
try:
# get the application name for the provides
juju:
charm: proxy-ci
proxy: true
juju:
charm: proxy-ci
proxy: true
# Relation needs to map to the vdu providing or
# requiring, so that we can map to the deployed app.
relation:
# Relation needs to map to the vdu providing or
# requiring, so that we can map to the deployed app.
relation: