remove the listen_host parameter to both agents
This commit is contained in:
parent
d08a5b465f
commit
d57c979613
teeth_agent
@ -31,4 +31,4 @@ def run():
|
||||
args = parser.parse_args()
|
||||
|
||||
logging.configure()
|
||||
decom.DecomAgent('0.0.0.0', 9999, args.api_url).run()
|
||||
decom.DecomAgent(9999, args.api_url).run()
|
||||
|
@ -30,4 +30,4 @@ def run():
|
||||
|
||||
args = parser.parse_args()
|
||||
logging.configure()
|
||||
standby.StandbyAgent('0.0.0.0', 9999, args.api_url).run()
|
||||
standby.StandbyAgent(9999, args.api_url).run()
|
||||
|
@ -18,8 +18,7 @@ from teeth_agent import base
|
||||
|
||||
|
||||
class DecomAgent(base.BaseTeethAgent):
|
||||
def __init__(self, listen_host, listen_port, api_url):
|
||||
super(DecomAgent, self).__init__(listen_host,
|
||||
listen_port,
|
||||
def __init__(self, listen_port, api_url):
|
||||
super(DecomAgent, self).__init__(listen_port,
|
||||
api_url,
|
||||
'DECOM')
|
||||
|
@ -25,9 +25,8 @@ class CacheImagesCommand(base.AsyncCommandResult):
|
||||
|
||||
|
||||
class StandbyAgent(base.BaseTeethAgent):
|
||||
def __init__(self, listen_host, listen_port, api_url):
|
||||
super(StandbyAgent, self).__init__(listen_host,
|
||||
listen_port,
|
||||
def __init__(self, listen_port, api_url):
|
||||
super(StandbyAgent, self).__init__(listen_port,
|
||||
api_url,
|
||||
'STANDBY')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user