diff options
| author | handingkang <[email protected]> | 2024-04-18 17:18:12 +0800 |
|---|---|---|
| committer | handingkang <[email protected]> | 2024-04-18 17:18:12 +0800 |
| commit | b862fe9d30bf179cefaddaf25f8ccfc8b50b36d2 (patch) | |
| tree | b0a66cccf2a71c1c1af8be549406766ae9098779 /agent | |
| parent | 3c02761ae60e96feca4829ef4f2d73e07b8e8637 (diff) | |
代理注册接口问题修复
Diffstat (limited to 'agent')
| -rw-r--r-- | agent/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/app.py b/agent/app.py index 6a26c8c..ee88577 100644 --- a/agent/app.py +++ b/agent/app.py @@ -100,8 +100,8 @@ if __name__ == '__main__': args = parser.parse_args() # 注册代理,并获取主控分配的代理编号 - id = registernode(port=args.port, server=args.server, atype=args.type) - config = {"id": id, "port": args.port, "atype": args.type, "server": args.server} + id = registernode(port=args.port, server=args.server, atype=args.atype) + config = {"id": id, "port": args.port, "atype": args.atype, "server": args.server} # 配置写入yaml文件存储 with open('config.yaml', 'w') as f: |
