Skip to content
Snippets Groups Projects
Commit 4bad4f3d authored by Branson Stephens's avatar Branson Stephens
Browse files

fixed but with tagging at time of log message creation

parent 02b95d82
No related branches found
No related tags found
No related merge requests found
......@@ -540,8 +540,8 @@ class EventLogList(APIView):
if tagname:
n = logentry.getN()
# XXX This is not what these API views are really meant for, but...
newTag = EventLogTagDetail()
retval = newTag.put(neltd, request, graceid, n, tagname)
tmp = EventLogTagDetail()
retval = tmp.put(request, graceid, n, tagname)
# XXX This seems like a bizarre way of getting an error message out.
if retval.status_code != 201:
response['tagWarning'] = 'Error creating tag.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment