diff --git a/go.mod b/go.mod index 23f32afc..6f7106c8 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/go-resty/resty/v2 v2.6.0 github.com/golang/mock v1.6.0 github.com/stretchr/testify v1.8.4 - go.uber.org/zap v1.26.0 k8s.io/api v0.29.1 k8s.io/apimachinery v0.29.1 k8s.io/client-go v0.29.1 @@ -55,6 +54,7 @@ require ( github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc // indirect github.com/zmap/zlint/v3 v3.1.0 // indirect go.uber.org/multierr v1.11.0 // indirect + go.uber.org/zap v1.26.0 // indirect golang.org/x/crypto v0.18.0 // indirect golang.org/x/net v0.20.0 // indirect golang.org/x/oauth2 v0.12.0 // indirect diff --git a/main.go b/main.go index d60544ab..06e81011 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,6 @@ import ( "github.com/vmware/cbcontainers-operator/cbcontainers/state/applyment" "github.com/vmware/cbcontainers-operator/cbcontainers/state/common" "github.com/vmware/cbcontainers-operator/cbcontainers/state/operator" - "go.uber.org/zap/zapcore" coreV1 "k8s.io/api/core/v1" "os" "sigs.k8s.io/controller-runtime/pkg/client" @@ -112,7 +111,6 @@ func main() { "Enabling this will ensure there is only one active controller manager.") opts := zap.Options{ Development: true, - TimeEncoder: zapcore.RFC3339TimeEncoder, } opts.BindFlags(flag.CommandLine) flag.Parse()