From d99e0da559d915bdb600b9328a2dd6d5e08a87b6 Mon Sep 17 00:00:00 2001 From: noerw Date: Sun, 24 Jun 2018 23:15:15 +0200 Subject: [PATCH] fix watchCmd interval woops, not debugging anymore --- cmd/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/watch.go b/cmd/watch.go index 7e07971..9db9dce 100644 --- a/cmd/watch.go +++ b/cmd/watch.go @@ -28,7 +28,7 @@ var watchBoxesCmd = &cobra.Command{ Long: "specify box IDs to watch them for events", Args: BoxIdValidator, PreRun: func(cmd *cobra.Command, args []string) { - ticker = time.NewTicker(time.Duration(watchInterval) * time.Second).C + ticker = time.NewTicker(time.Duration(watchInterval) * time.Minute).C }, RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceUsage = true