Skip to content

Commit

Permalink
cleaning up args
Browse files Browse the repository at this point in the history
  • Loading branch information
tginsbu1 committed May 30, 2024
1 parent a028a51 commit cfd4fa8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ot2_rest_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,8 @@ def ot2_startup(state: State):
-------
None"""

args = rest_module.arg_parser.parse_args()
state.node_name = args.name
state.ip = args.ot2_ip
state.node_name = state.name
state.ip = state.ot2_ip
state.status = "UNKNOWN"
temp_dir = Path.home() / ".wei" / ".ot2_temp"
temp_dir.mkdir(exist_ok=True)
Expand Down

0 comments on commit cfd4fa8

Please sign in to comment.