~charmers/charms/precise/glance/trunk

« back to all changes in this revision

Viewing changes to hooks/glance-relations

  • Committer: Adam Gandelman
  • Date: 2013-01-09 01:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: adamg@canonical.com-20130109011754-2uxt8gc3nvw1udx9
Only call object-store relation from keystone if an object-store relation exists.

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
 
241
241
  # Configure any object-store / swift relations now that we have an
242
242
  # identity-service
243
 
  object-store_joined
 
243
  if [[ -n "$(relation-ids object-store)" ]] ; then
 
244
    object-store_joined
 
245
  fi
244
246
}
245
247
 
246
248
function config_changed() {