Add import of charm class to reactive handler

The charm class is not used by any handlers, but the import
needs to be there for ``charms.openstack`` to find the charm
instance.
This commit is contained in:
Frode Nordahl 2018-10-18 16:18:03 +02:00
parent bdcf367efc
commit c7ea27cde7
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ import charms.reactive as reactive
import charms_openstack.charm as charm
# The charm class is not used by any handlers, but the import needs to be here
# for ``charms.openstack`` to find the charm instance.
import charm.openstack.barbican_vault as barbican_vault # noqa
# Use the charms.openstack defaults for common states and hooks
charm.use_defaults(
'charm.installed',