Procházet zdrojové kódy

feat(schema): schema infer from format mechanism

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang před 2 roky
rodič
revize
d760cd7f46
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,
 			Content:  string(content),
 			FilePath: schemaFile.SchemaFile,
-			SoPath: schemaFile.SoFile,
+			SoPath:   schemaFile.SoFile,
 		}, nil
 	} else {
 		return &Info{