Skip to content

Commit

Permalink
do not have flow control
Browse files Browse the repository at this point in the history
  • Loading branch information
enekofb committed Sep 19, 2023
1 parent d18dc14 commit f14f0ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/clustersmngr/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ const (
)

var (
kubeClientTimeout = getEnvDuration("WEAVE_GITOPS_KUBE_CLIENT_TIMEOUT", 30*time.Second)
DefaultKubeConfigOptions = []KubeConfigOption{WithFlowControl}
kubeClientTimeout = getEnvDuration("WEAVE_GITOPS_KUBE_CLIENT_TIMEOUT", 30*time.Second)
//DefaultKubeConfigOptions = []KubeConfigOption{WithFlowControl}

Check failure on line 34 in core/clustersmngr/cluster/cluster.go

View workflow job for this annotation

GitHub Actions / CI Check Static Checks (1.20.X, 16.X)

commentFormatting: put a space between `//` and comment text (gocritic)
DefaultKubeConfigOptions = []KubeConfigOption{}
)

type KubeConfigOption func(*rest.Config) (*rest.Config, error)
Expand Down

0 comments on commit f14f0ca

Please sign in to comment.