fix relation check, remove varying unit data check
This commit is contained in:
parent
b4eed099e4
commit
286162a7f2
@ -237,13 +237,6 @@ class NeutronAPIBasicDeployment(OpenStackAmuletDeployment):
|
||||
'password': u.not_null
|
||||
}
|
||||
|
||||
if self._get_openstack_release() == self.precise_icehouse:
|
||||
# Precise
|
||||
expected['allowed_units'] = 'nova-cloud-controller/0 neutron-api/0'
|
||||
else:
|
||||
# Not Precise
|
||||
expected['allowed_units'] = 'neutron-api/0'
|
||||
|
||||
ret = u.validate_relation_data(unit, relation, expected)
|
||||
if ret:
|
||||
message = u.relation_error('mysql shared-db', ret)
|
||||
|
Loading…
Reference in New Issue
Block a user