From da1cf30c67c28bb0fa76131b53fa6faa87f56f3f Mon Sep 17 00:00:00 2001 From: Michael <60191460+mlwood-dev@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:24:00 -0400 Subject: [PATCH] Update svc_config_windows.go Co-authored-by: seph --- cmd/launcher/svc_config_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/launcher/svc_config_windows.go b/cmd/launcher/svc_config_windows.go index 0531c68ce..bcba533d3 100644 --- a/cmd/launcher/svc_config_windows.go +++ b/cmd/launcher/svc_config_windows.go @@ -238,7 +238,7 @@ func checkRecoveryActions(ctx context.Context, logger *slog.Logger, service *mgr } // recoveryActionsAreSet checks if the current recovery actions are set to the desired recovery actions -func recoveryActionsAreSet(curRecoveryActions []mgr.RecoveryAction, recoveryActions []mgr.RecoveryAction) bool { +func recoveryActionsAreSet(curRecoveryActions, recoveryActions []mgr.RecoveryAction) bool { if curRecoveryActions == nil || len(curRecoveryActions) != len(recoveryActions) { return false }