~hopem/charms/trusty/cinder/lp1499435

« back to all changes in this revision

Viewing changes to actions/openstack_upgrade.py

  • Committer: james.page at ubuntu
  • Date: 2015-09-23 14:09:24 UTC
  • mfrom: (124.2.1 cinder)
  • Revision ID: james.page@ubuntu.com-20150923140924-tmftwr4qn87ea1tr
[coreycb,r=james-page] Import CONFIGS instead of calling register_configs() again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    relation_set,
14
14
)
15
15
 
16
 
from cinder_hooks import config_changed
 
16
from cinder_hooks import (
 
17
    config_changed,
 
18
    CONFIGS,
 
19
)
17
20
 
18
21
from cinder_utils import (
19
22
    do_openstack_upgrade,
20
 
    register_configs
21
23
)
22
24
 
23
25
 
24
 
CONFIGS = register_configs()
25
 
 
26
 
 
27
26
def openstack_upgrade():
28
27
    """Upgrade packages to config-set Openstack version.
29
28