Fix typos in horizon
Change-Id: I1deac0ff732c0e5fe94698be29d94f0be20023e4
This commit is contained in:
parent
4e4429b330
commit
5bf92e84a6
@ -50,7 +50,7 @@ class UpdateNetwork(forms.SelfHandlingForm):
|
|||||||
params = {'admin_state_up': data['admin_state'],
|
params = {'admin_state_up': data['admin_state'],
|
||||||
'name': data['name']}
|
'name': data['name']}
|
||||||
# Make sure we are not sending shared data when the user
|
# Make sure we are not sending shared data when the user
|
||||||
# doesnt'have admin rights because even if the user doesn't
|
# doesn't have admin rights because even if the user doesn't
|
||||||
# change it neutron sends back a 403 error
|
# change it neutron sends back a 403 error
|
||||||
if policy.check((("network", "update_network:shared"),), request):
|
if policy.check((("network", "update_network:shared"),), request):
|
||||||
params['shared'] = data['shared']
|
params['shared'] = data['shared']
|
||||||
|
@ -1068,7 +1068,7 @@ class NetworkViewTests(test.TestCase, NetworkStubMixin):
|
|||||||
def _test_create_button_shown_when_quota_disabled(
|
def _test_create_button_shown_when_quota_disabled(
|
||||||
self,
|
self,
|
||||||
find_button_fn):
|
find_button_fn):
|
||||||
# if quota_data doesnt contain a networks|subnets|routers key or
|
# if quota_data doesn't contain a networks|subnets|routers key or
|
||||||
# these keys are empty dicts, its disabled
|
# these keys are empty dicts, its disabled
|
||||||
quota_data = self.neutron_quota_usages.first()
|
quota_data = self.neutron_quota_usages.first()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user