mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Fix issue #1253... mention the tower product and version in the 404 data string
This commit is contained in:
@@ -21,6 +21,7 @@ from django.utils.timezone import now, is_aware, make_aware
|
||||
from django.utils.tzinfo import FixedOffset
|
||||
|
||||
# AWX
|
||||
import awx
|
||||
from awx.main.models import *
|
||||
|
||||
# ZeroMQ
|
||||
@@ -59,7 +60,7 @@ class TowerSocket(object):
|
||||
'/socket.io/job_events': JobEventNamespace})
|
||||
else:
|
||||
start_response('404 Not Found', [])
|
||||
return ['<h1>Not Found</h1>']
|
||||
return ['Tower version %s' % awx.__version__]
|
||||
|
||||
def notification_handler(bind_port, server):
|
||||
handler_context = zmq.Context()
|
||||
|
||||
Reference in New Issue
Block a user