Jelajahi Sumber

chore: remove optional in redis config (#2979)

Kevin Wan 2 tahun lalu
induk
melakukan
a05fe7bf0a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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.
 	// A RedisKeyConf is a redis config with key.
 	RedisKeyConf struct {
 	RedisKeyConf struct {
 		RedisConf
 		RedisConf
-		Key string `json:",optional"`
+		Key string
 	}
 	}
 )
 )