浏览代码

chore: remove optional in redis config (#2979)

Kevin Wan 2 年之前
父节点
当前提交
a05fe7bf0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/stores/redis/conf.go

+ 1 - 1
core/stores/redis/conf.go

@@ -25,7 +25,7 @@ type (
 	// A RedisKeyConf is a redis config with key.
 	RedisKeyConf struct {
 		RedisConf
-		Key string `json:",optional"`
+		Key string
 	}
 )