Skip to content

Commit

Permalink
Fix undefined config variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
hexalellogram committed Aug 22, 2024
1 parent fd13001 commit 3088af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {

ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts)))

config = ctrl.GetConfigOrDie()
config := ctrl.GetConfigOrDie()
if disableClientSideRateLimiting {
// A negative QPS and Burst indicates that the client should not have a rate limiter.
// Ref: https://github.com/kubernetes/kubernetes/blob/v1.24.0/staging/src/k8s.io/client-go/rest/config.go#L354-L364
Expand Down

0 comments on commit 3088af5

Please sign in to comment.