Skip to content

Commit c9ba515

Browse files
SystemsPurgestv0g
authored andcommitted
fix: change method of python api restart node request to POST instead of default GET
Signed-off-by: SystemsPurge <naktiyoussef@proton.me>
1 parent 9b81d28 commit c9ba515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/villas/node/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def stop(self):
9393

9494
def restart(self):
9595
LOGGER.info("Restarting VILLASnode instance")
96-
self.request("restart")
96+
self.request("restart", method="POST")
9797

9898
@property
9999
def active_config(self):

0 commit comments

Comments
 (0)