From 6bc842b7e3afa8c9227e1984816123c23eec1d8d Mon Sep 17 00:00:00 2001 From: Patricio Tourne Passarino Date: Wed, 24 Jun 2026 14:43:36 -0300 Subject: [PATCH 1/2] chore: missing new line before deprecated comment --- pkg/utils/start_stop_once.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/utils/start_stop_once.go b/pkg/utils/start_stop_once.go index fec03735e8..32c0bc1b4a 100644 --- a/pkg/utils/start_stop_once.go +++ b/pkg/utils/start_stop_once.go @@ -5,5 +5,6 @@ import ( ) // StartStopOnce can be embedded in a struct to help implement types.Service. +// // Deprecated: use services.StateMachine type StartStopOnce = services.StateMachine From fb24ac63b4dd20c9d5c83ab1ce27e4be64c98663 Mon Sep 17 00:00:00 2001 From: Patricio Tourne Passarino Date: Wed, 24 Jun 2026 14:53:01 -0300 Subject: [PATCH 2/2] fix: gofix inline suggestion --- pkg/services/service.go | 2 +- pkg/utils/start_stop_once.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/services/service.go b/pkg/services/service.go index 6257ff6b51..1e7fe40b4c 100644 --- a/pkg/services/service.go +++ b/pkg/services/service.go @@ -221,7 +221,7 @@ type service struct { subs []Service } -// Ready implements [HealthReporter.Ready] and overrides and extends [utils.StartStopOnce.Ready()] to include [Config.SubServices] +// Ready implements [HealthReporter.Ready] and overrides and extends [services.StateMachine.Ready()] to include [Config.SubServices] // readiness as well. func (s *service) Ready() (err error) { err = s.StateMachine.Ready() diff --git a/pkg/utils/start_stop_once.go b/pkg/utils/start_stop_once.go index 32c0bc1b4a..80321536f1 100644 --- a/pkg/utils/start_stop_once.go +++ b/pkg/utils/start_stop_once.go @@ -7,4 +7,6 @@ import ( // StartStopOnce can be embedded in a struct to help implement types.Service. // // Deprecated: use services.StateMachine +// +//go:fix inline type StartStopOnce = services.StateMachine