Преглед изворни кода

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
 	}
 )