Prechádzať zdrojové kódy

feat(schema): schema infer from format mechanism

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 rokov pred
rodič
commit
d760cd7f46
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      internal/schema/registry.go

+ 1 - 1
internal/schema/registry.go

@@ -170,7 +170,7 @@ func GetSchema(schemaType def.SchemaType, name string) (*Info, error) {
 			Name:     name,
 			Name:     name,
 			Content:  string(content),
 			Content:  string(content),
 			FilePath: schemaFile.SchemaFile,
 			FilePath: schemaFile.SchemaFile,
-			SoPath: schemaFile.SoFile,
+			SoPath:   schemaFile.SoFile,
 		}, nil
 		}, nil
 	} else {
 	} else {
 		return &Info{
 		return &Info{