Fix incorrect reference to model

This commit is contained in:
Corey Bryant
2020-06-05 20:02:45 +00:00
parent 4e993e4251
commit 7d0dfadc80

View File

@@ -65,7 +65,7 @@ def get_application_ip(application):
if vip:
ip = vip
else:
unit = zaza.model.get_units(application_name)[0]
unit = model.get_units(application_name)[0]
ip = unit.public_address
return ip