diff options
author | Valery Piashchynski <[email protected]> | 2022-05-30 11:55:04 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-05-30 11:55:04 +0200 |
commit | 0308f3b4f396b9d556492b0f0ea57ed8dde622a1 (patch) | |
tree | 1f21e706c822bc9c7c0138b4adfb2ef83eb1a8cc /internal/cli | |
parent | fd8ac63b3514978fdfd7bc0fd3e5addf8dc024e8 (diff) |
correct formatting for the seconds
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal/cli')
-rw-r--r-- | internal/cli/serve/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cli/serve/command.go b/internal/cli/serve/command.go index 99c339dd..3a1e945c 100644 --- a/internal/cli/serve/command.go +++ b/internal/cli/serve/command.go @@ -98,7 +98,7 @@ func NewCommand(override *[]string, cfgFile *string, silent *bool) *cobra.Comman case e := <-errCh: return fmt.Errorf("error: %w\nplugin: %s", e.Error, e.VertexID) case <-stop: // stop the container after first signal - fmt.Printf("stop signal received, grace timeout is: %d seconds\n", uint64(containerCfg.GracePeriod.Seconds())) + fmt.Printf("stop signal received, grace timeout is: %f seconds\n", containerCfg.GracePeriod.Seconds()) if err = endureContainer.Stop(); err != nil { return fmt.Errorf("error: %w", err) |