Fix typos in horizon

Change-Id: I1deac0ff732c0e5fe94698be29d94f0be20023e4
This commit is contained in:
baiwenteng 2018-02-09 12:12:43 +08:00
parent 4e4429b330
commit 5bf92e84a6
2 changed files with 2 additions and 2 deletions
openstack_dashboard/dashboards/project/networks

@ -50,7 +50,7 @@ class UpdateNetwork(forms.SelfHandlingForm):
params = {'admin_state_up': data['admin_state'],
'name': data['name']}
# 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
if policy.check((("network", "update_network:shared"),), request):
params['shared'] = data['shared']

@ -1068,7 +1068,7 @@ class NetworkViewTests(test.TestCase, NetworkStubMixin):
def _test_create_button_shown_when_quota_disabled(
self,
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
quota_data = self.neutron_quota_usages.first()