Merge "[trivial] fixed typo in vpn/forms.py"

This commit is contained in:
Zuul 2018-02-14 18:29:05 +00:00 committed by Gerrit Code Review
commit fef4ec26d0
1 changed files with 2 additions and 2 deletions

View File

@ -81,9 +81,9 @@ class UpdateEndpointGroup(forms.SelfHandlingForm):
messages.success(request, msg)
return endpointgroup
except Exception as e:
LOG.info('Failed to update endpint group %(id)s: %(exc)s',
LOG.info('Failed to update endpoint group %(id)s: %(exc)s',
{'id': self.initial['endpoint_group_id'], 'exc': e})
msg = _('Failed to update endpint group %s') % context['name']
msg = _('Failed to update endpoint group %s') % context['name']
redirect = reverse(self.failure_url)
exceptions.handle(request, msg, redirect=redirect)