Skip to content

Commit a1403f9

Browse files
committed
update relative path in plugin doc
Also, add newline to make deploy look a little better
1 parent 6678202 commit a1403f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resources/plugins/simln/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ nodes:
9292
plugins:
9393
postDeploy:
9494
# Take note: the path to the plugin file is relative to the `network.yaml` file. The location of your `plugin.py` file and `network.yaml` file may differ than what is shown below.
95-
- "../../../resources/plugins/simln/plugin.py launch-activity '[{\"source\": \"tank-0003-ln\", \"destination\": \"tank-0005-ln\", \"interval_secs\": 1, \"amount_msat\": 2000}]'"
95+
- "../../plugins/simln/plugin.py launch-activity '[{\"source\": \"tank-0003-ln\", \"destination\": \"tank-0005-ln\", \"interval_secs\": 1, \"amount_msat\": 2000}]'"
9696
````
9797

9898
</details>

src/warnet/deploy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def _deploy(directory, debug, namespace, to_all_users):
8686

8787
if (directory / NETWORK_FILE).exists():
8888
run_plugins(directory, HookValue.PRE_DEPLOY)
89+
8990
processes = []
9091
# Deploy logging CRD first to avoid synchronisation issues
9192
deploy_logging_crd(directory, debug)

0 commit comments

Comments
 (0)