From a9e3801eaeac9792befcf33ba1ddfa0563e10e2d Mon Sep 17 00:00:00 2001 From: LordMathis Date: Tue, 19 Aug 2025 19:25:15 +0200 Subject: [PATCH] Refactor logging in checkAllTimeouts --- pkg/manager/timeout.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/manager/timeout.go b/pkg/manager/timeout.go index 6b67fa2..a28bc67 100644 --- a/pkg/manager/timeout.go +++ b/pkg/manager/timeout.go @@ -17,10 +17,10 @@ func (im *instanceManager) checkAllTimeouts() { // Stop the timed-out instances for _, name := range timeoutInstances { log.Printf("Instance %s has timed out, stopping it", name) - if proc, err := im.StopInstance(name); err != nil { + if _, err := im.StopInstance(name); err != nil { log.Printf("Error stopping instance %s: %v", name, err) } else { - log.Printf("Instance %s stopped successfully, process: %v", name, proc) + log.Printf("Instance %s stopped successfully", name) } } }