Fix unit-name -> app-name conversion

This commit is contained in:
Aurelien Lourot
2020-09-09 10:08:37 +02:00
parent 14f7e3848c
commit 11f3060f6b
@@ -120,7 +120,8 @@ class HaclusterScalebackTest(HaclusterBaseTest):
logging.info('OK')
logging.info('Updating corosync ring')
hacluster_app_name = other_hacluster_unit.application
hacluster_app_name = zaza.model.get_unit_from_name(
other_hacluster_unit).application
zaza.model.run_action_on_leader(
hacluster_app_name,
'update-ring',