Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always enable timestamps #3251

Merged
merged 3 commits into from Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmd/eksctl/main.go
Expand Up @@ -67,8 +67,7 @@ func main() {
// Control colored output
logger.Color = *colorValue == "true"
logger.Fabulous = *colorValue == "fabulous"
// Add timestamps for debugging
logger.Timestamps = logger.Level >= 4
logger.Timestamps = true
})

rootCmd.SetUsageFunc(flagGrouping.Usage)
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Expand Up @@ -27,7 +27,6 @@ require (
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/kevinburke/go-bindata v3.22.0+incompatible
github.com/kevinburke/rest v0.0.0-20210106114233-22cd0577e450 // indirect
github.com/kris-nova/logger v0.0.0-20181127235838-fd0d87064b06
github.com/kubicorn/kubicorn v0.0.0-20180829191017-06f6bce92acc
github.com/lithammer/dedent v1.1.0
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0
Expand All @@ -48,7 +47,7 @@ require (
github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 // indirect
github.com/weaveworks/goformation/v4 v4.10.2-0.20210202192510-c984c16fe84b
github.com/weaveworks/launcher v0.0.2-0.20200715141516-1ca323f1de15
github.com/weaveworks/logger v0.0.0-20210204141807-28118249ac72
github.com/weaveworks/logger v0.0.0-20210210175120-de9359622dfc
github.com/whilp/git-urls v0.0.0-20191001220047-6db9661140c0
golang.org/x/mod v0.4.1 // indirect
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -1322,8 +1322,8 @@ github.com/weaveworks/goformation/v4 v4.10.2-0.20210202192510-c984c16fe84b h1:zm
github.com/weaveworks/goformation/v4 v4.10.2-0.20210202192510-c984c16fe84b/go.mod h1:x92o12+Azh6DQ4yoXT5oEuE7dhQHR5V2vy/fmZ6pO7k=
github.com/weaveworks/launcher v0.0.2-0.20200715141516-1ca323f1de15 h1:i/RhLevywqC6cuUWtGdoaNrsJd+/zWh3PXbkXZIyZsU=
github.com/weaveworks/launcher v0.0.2-0.20200715141516-1ca323f1de15/go.mod h1:w9Z1vnQmPobkEZ0F3oyiqRYP+62qDqTGnK6t5uhe1kg=
github.com/weaveworks/logger v0.0.0-20210204141807-28118249ac72 h1:Krh10v8oU268Iq5G/cIhAWwNmHAOQR5HCTBqLkCdsbs=
github.com/weaveworks/logger v0.0.0-20210204141807-28118249ac72/go.mod h1:bP09VFOFc69sBzZ3WmvolgcJi4qv07quNk13fYSjXSQ=
github.com/weaveworks/logger v0.0.0-20210210175120-de9359622dfc h1:1sCkSiPvTPq2UQnomwNdVWfrpBkq2N4Z0iEqLR1WycI=
github.com/weaveworks/logger v0.0.0-20210210175120-de9359622dfc/go.mod h1:bP09VFOFc69sBzZ3WmvolgcJi4qv07quNk13fYSjXSQ=
github.com/weaveworks/mesh v0.0.0-20170419100114-1f158d31de55/go.mod h1:mcON9Ws1aW0crSErpXWp7U1ErCDEKliDX2OhVlbWRKk=
github.com/weppos/publicsuffix-go v0.4.0/go.mod h1:z3LCPQ38eedDQSwmsSRW4Y7t2L8Ln16JPQ02lHAdn5k=
github.com/weppos/publicsuffix-go v0.13.0 h1:0Tu1uzLBd1jPn4k6OnMmOPZH/l/9bj9kUOMMkoRs6Gg=
Expand Down
2 changes: 1 addition & 1 deletion pkg/ctl/cmdutils/gitops.go
Expand Up @@ -3,9 +3,9 @@ package cmdutils
import (
"fmt"

"github.com/kris-nova/logger"
"github.com/pkg/errors"
"github.com/spf13/pflag"
"github.com/weaveworks/logger"
"k8s.io/apimachinery/pkg/util/sets"

api "github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5"
Expand Down