2024-09-02 17:21:14: merge [master:61f240317a2771a4716cdd3d7065077c5ff18dc0];

This commit is contained in:
txix committed 2024-09-02 17:21:14 +03:00
1 parent 2e09ff7b95
commit 74f3ea35cc
9 files changed
+193 -177

No files matched your search

+2 -3
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"os"
"github.com/integration-system/isp-kit/rc/schema"
"github.com/pkg/errors"
"github.com/txix-open/isp-kit/rc/schema"
epb "google.golang.org/genproto/googleapis/rpc/errdetails"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
@@ -49,8 +49,7 @@ func (c configService) GetSchemaByModuleId(moduleId string) (schema.Schema, erro
if configSchema, err := ConfigClient.GetSchemaByModuleId(moduleId); err != nil {
return nil, err
} else {
dereferenceSchema := schema.DereferenceSchema(configSchema.Schema)
return dereferenceSchema, nil
return configSchema.Schema, nil
}
}