Bump dependencies
This commit is contained in:
1 parent
f30d60adb1
commit
61f240317a
9 files changed
+193
-177
No files matched your search
+2
-3
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user