~hopem/charms/trusty/ceilometer-agent/lp1535062

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/context.py

  • Committer: Ryan Beisner
  • Date: 2015-06-26 17:43:37 UTC
  • mto: This revision was merged to the branch mainline in revision 56.
  • Revision ID: ryan.beisner@canonical.com-20150626174337-8983xvpatxrreuo5
sync hooks/charmhelpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
        if self.relation_prefix:
241
241
            password_setting = self.relation_prefix + '_password'
242
242
 
243
 
        for rid in relation_ids('shared-db'):
 
243
        for rid in relation_ids(self.interfaces[0]):
244
244
            for unit in related_units(rid):
245
245
                rdata = relation_get(rid=rid, unit=unit)
246
246
                host = rdata.get('db_host')