Skip to content

Commit

Permalink
Update svc_config_windows.go
Browse files Browse the repository at this point in the history
Co-authored-by: seph <seph@kolide.co>
  • Loading branch information
mlwood-dev and directionless authored Sep 11, 2024
1 parent 29cabfe commit da1cf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/launcher/svc_config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit da1cf30

Please sign in to comment.