From ef70ea3c783be09501053469c5b4b5bb51ef2df2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 26 Apr 2022 10:35:59 +0200 Subject: FSM: Do graph generation in directory with mermaid-cli --- state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'state.go') 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 -- cgit v1.2.3