diff --git a/simple_k8s.go b/simple_k8s.go index df471e3..d4a29c9 100644 --- a/simple_k8s.go +++ b/simple_k8s.go @@ -206,8 +206,9 @@ func TerminationHandlerCont(timeout time.Duration, continuation func(pars ...int continuation(pars...) } + log.Printf("Waiting for %s seconds before to exit", timeout/time.Second) time.Sleep(timeout) - + log.Print("Exiting") os.Exit(0) }