mirror of
https://github.com/rancher/steve.git
synced 2025-09-12 13:31:57 +00:00
testing
This commit is contained in:
@@ -55,7 +55,7 @@ func Register(ctx context.Context,
|
||||
apiService v1.APIServiceController,
|
||||
ssar authorizationv1client.SelfSubjectAccessReviewInterface,
|
||||
schemasHandler SchemasHandler,
|
||||
schemas *schema2.Collection) (init func() error) {
|
||||
schemas *schema2.Collection) {
|
||||
|
||||
h := &handler{
|
||||
ctx: ctx,
|
||||
@@ -69,11 +69,6 @@ func Register(ctx context.Context,
|
||||
|
||||
apiService.OnChange(ctx, "schema", h.OnChangeAPIService)
|
||||
crd.OnChange(ctx, "schema", h.OnChangeCRD)
|
||||
|
||||
return func() error {
|
||||
h.queueRefresh()
|
||||
return h.refreshAll(ctx)
|
||||
}
|
||||
}
|
||||
|
||||
func (h *handler) OnChangeCRD(key string, crd *v1beta1.CustomResourceDefinition) (*v1beta1.CustomResourceDefinition, error) {
|
||||
|
Reference in New Issue
Block a user