浏览代码

Merge pull request #466 from ysfscream/fix/metadata

fix(sinksMeta): remove spaces in field name
EMQmyd 4 年之前
父节点
当前提交
9f808bccc1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/sinkMeta.go

+ 2 - 2
plugins/sinkMeta.go

@@ -36,7 +36,7 @@ type (
 		Values   interface{}   `json:"values"`
 	}
 	fileAbout struct {
-		Trial       bool          `json:"trial "`
+		Trial       bool          `json:"trial"`
 		Author      *author       `json:"author"`
 		HelpUrl     *fileLanguage `json:"helpUrl"`
 		Description *fileLanguage `json:"description"`
@@ -51,7 +51,7 @@ type (
 		Chinese string `json:"zh"`
 	}
 	about struct {
-		Trial       bool      `json:"trial "`
+		Trial       bool      `json:"trial"`
 		Author      *author   `json:"author"`
 		HelpUrl     *language `json:"helpUrl"`
 		Description *language `json:"description"`