summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-26 10:35:59 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-26 10:35:59 +0200
commitef70ea3c783be09501053469c5b4b5bb51ef2df2 (patch)
tree78afa61e303a11d6dd61b1a8c15c8d1ad7906786 /state.go
parent5998a69ebbb174df4425fec878263d2a5d7cb096 (diff)
FSM: Do graph generation in directory with mermaid-cli
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 6b3141b..29f8a1e 100644
--- a/state.go
+++ b/state.go
@@ -51,7 +51,7 @@ func (state *VPNState) Register(name string, directory string, stateCallback fun
}
// Initialize the FSM
- state.FSM.Init(stateCallback, &state.Logger, debug)
+ state.FSM.Init(name, stateCallback, &state.Logger, directory, debug)
state.Debug = debug
// Initialize the Config