Restarts a given module on the select node scope.
If you want to restart the module on all nodes, you can use the deploy_module(name, nil) function with nil
as second argument.
This function does not generate a change.
restart_module(name)
Argument | Type | Description |
---|---|---|
name | str (required) | Module to restart. |
Returns nil
.
This code will reset the counters on a node:
restart_module('DEMO');
Return value in JSON format
null