From 7f4f6c0bfa45e4bb18c88e796715b286e9d273bf Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 19 Mar 2012 16:05:39 -0400 Subject: Correct accessIPv6 error message. Fixes LP Bug #959661. Change-Id: I95d497de1df4d10cfa1213c31cb6bfd120f7c6b3 --- nova/api/openstack/compute/servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/api/openstack/compute/servers.py b/nova/api/openstack/compute/servers.py index 2ea6e51ef..e6a8fdcdb 100644 --- a/nova/api/openstack/compute/servers.py +++ b/nova/api/openstack/compute/servers.py @@ -594,7 +594,7 @@ class Controller(wsgi.Controller): try: socket.inet_pton(socket.AF_INET6, address) except socket.error: - expl = _('accessIPv4 is not proper IPv4 format') + expl = _('accessIPv6 is not proper IPv6 format') raise exc.HTTPBadRequest(explanation=expl) @wsgi.serializers(xml=ServerTemplate) -- cgit