Explorar el Código

feat(schema): schema infer from format mechanism

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang hace 2 años
padre
commit
d760cd7f46
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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{