Skip to content
Snippets Groups Projects
Commit 8549673d authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Properly set the port from CLI when running swh graph grpc-serve

parent bd23fb7a
No related branches found
Tags v2.1.1
No related merge requests found
......@@ -175,6 +175,7 @@ def grpc_serve(ctx, port, java_home, graph):
config = ctx.obj["config"]
config.setdefault("graph", {})
config["graph"]["path"] = graph
config["graph"]["port"] = port
logger.debug("Building gPRC server command line")
cmd, port = build_grpc_server_cmdline(**config["graph"])
......
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