Browse Source

chore: remove optional in redis config (#2979)

Kevin Wan 2 năm trước cách đây
mục cha
commit
a05fe7bf0a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 	}
 )