mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-25 10:12:40 +08:00
bind the gaia read endpoint on the environment-given host
This commit is contained in:
@@ -464,7 +464,7 @@ class GaiaServerRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
|
||||
class GaiaServer(BaseHTTPServer.HTTPServer):
|
||||
def __init__(self, storage_root, port, upstream_gaia_url):
|
||||
BaseHTTPServer.HTTPServer.__init__(self, ('localhost', port), GaiaServerRequestHandler)
|
||||
BaseHTTPServer.HTTPServer.__init__(self, (TEST_CLIENT_BIND, port), GaiaServerRequestHandler)
|
||||
self.storage_root = storage_root
|
||||
self.done = False
|
||||
self.upstream_gaia_url = upstream_gaia_url
|
||||
|
||||
Reference in New Issue
Block a user