From 378ad12d975da00662621659909d70407a1cb29b Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@stud.h-da.de> Date: Thu, 17 Mar 2022 14:48:30 +0000 Subject: [PATCH] Add SchemaTreeGzip function in generated/openconfig --- generated/openconfig/yang.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/generated/openconfig/yang.go b/generated/openconfig/yang.go index 403fdc7..d86711f 100644 --- a/generated/openconfig/yang.go +++ b/generated/openconfig/yang.go @@ -77,6 +77,11 @@ func UnzipSchema() (map[string]*yang.Entry, error) { return schemaTree, nil } +func SchemaTreeGzip() []byte { + return ySchema +} + + // Unmarshal unmarshals data, which must be RFC7951 JSON format, into // destStruct, which must be non-nil and the correct GoStruct type. It returns // an error if the destStruct is not found in the schema or the data cannot be -- GitLab