From 7ccddba507f3e97a0aac489aff8a17f76103119f Mon Sep 17 00:00:00 2001 From: olensmar Date: Tue, 25 Jan 2022 15:41:47 +0100 Subject: [PATCH] fix: fixed retreival of schemas for dynamically loaded kindhandlers --- src/redux/services/schema.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/redux/services/schema.ts b/src/redux/services/schema.ts index 8518479f0a..79ab33ac4f 100644 --- a/src/redux/services/schema.ts +++ b/src/redux/services/schema.ts @@ -51,9 +51,6 @@ export function getResourceSchema(resource: K8sResource) { } else if (!schemaCache.has(resource.kind)) { if (resourceKindHandler?.sourceEditorOptions?.editorSchema) { schemaCache.set(resource.kind, resourceKindHandler?.sourceEditorOptions?.editorSchema); - } else { - log.warn(`Failed to find schema for resource of kind ${resource.kind}`); - schemaCache.set(resource.kind, undefined); } }