Kaynağa Gözat

chore: remove optional in redis config (#2979)

Kevin Wan 2 yıl önce
ebeveyn
işleme
a05fe7bf0a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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
 	}
 )