diff options
Diffstat (limited to 'hooks')
| -rwxr-xr-x | hooks/hooks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/hooks.py b/hooks/hooks.py index e388d46..787bca4 100755 --- a/hooks/hooks.py +++ b/hooks/hooks.py @@ -1547,7 +1547,8 @@ def config_changed_volume_apply(): assert(data_directory_path) volid = volume_get_volume_id() if volid: - if volume_is_permanent(volid): + volid_from_subordinate = volume_get_id_for_storage_subordinate() + if volume_is_permanent(volid) and not volid_from_subordinate: if not volume_init_and_mount(volid): juju_log( "volume_init_and_mount failed, not applying changes") |
