From fc3cdecbbbd13c352bc0bb6c6e66e75ef15b4e23 Mon Sep 17 00:00:00 2001 From: Naman Verma Date: Mon, 27 Apr 2026 18:15:21 +0530 Subject: [PATCH] chore: cleaner comment --- .../dashboardtypes/dashboardtypesv2/perses_plugin_wrappers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/types/dashboardtypes/dashboardtypesv2/perses_plugin_wrappers.go b/pkg/types/dashboardtypes/dashboardtypesv2/perses_plugin_wrappers.go index 5ea7449747..9b13ddd8e9 100644 --- a/pkg/types/dashboardtypes/dashboardtypesv2/perses_plugin_wrappers.go +++ b/pkg/types/dashboardtypes/dashboardtypesv2/perses_plugin_wrappers.go @@ -22,8 +22,7 @@ type PanelPlugin struct { } // PrepareJSONSchema drops the reflected struct shape (type: object, properties) -// from the envelope so that only the JSONSchemaOneOf result binds. Mirrors the -// pattern in swaggest/jsonschema-go's built-in oneOf helper. +// from the envelope so that only the JSONSchemaOneOf result binds. func (PanelPlugin) PrepareJSONSchema(s *jsonschema.Schema) error { return clearOneOfParentShape(s) }