From a7f1202316d4af8d058dba58f7eae40d0accb2ee Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Fri, 10 Oct 2014 12:47:54 -0400 Subject: [PATCH] Fix spelling error in validation error message --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 7ea673b40e..ff9b5b1128 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1447,7 +1447,7 @@ class JobTemplateSurveySpec(GenericAPIView): except ValueError, e: return Response(dict(error="Invalid JSON when parsing survey spec"), status=status.HTTP_400_BAD_REQUEST) if "name" not in obj.survey_spec: - return Response(dict(error="'name' missing from suvey spec"), status=status.HTTP_400_BAD_REQUEST) + return Response(dict(error="'name' missing from survey spec"), status=status.HTTP_400_BAD_REQUEST) if "description" not in obj.survey_spec: return Response(dict(error="'description' missing from survey spec"), status=status.HTTP_400_BAD_REQUEST) if "spec" not in obj.survey_spec: