Skip to content

Commit

Permalink
Fix initial cache fill bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Olshevski committed Jan 3, 2024
1 parent 9bb0077 commit d84f5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/reconciliation/discoverycache.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func newDicoveryCache(rc *rest.Config, qps float32, fillWhenNotFound bool) (*dis
}
disc.UseLegacyDiscovery = true // don't bother with aggregated APIs since they may be unavailable

d := &discoveryCache{client: disc, fillWhenNotFound: fillWhenNotFound, current: map[schema.GroupVersionKind]proto.Schema{}}
d := &discoveryCache{client: disc, fillWhenNotFound: fillWhenNotFound}
return d, nil
}

Expand Down

0 comments on commit d84f5d9

Please sign in to comment.