Explorar o código

chore: remove optional in redis config (#2979)

Kevin Wan %!s(int64=2) %!d(string=hai) anos
pai
achega
a05fe7bf0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 	}
 )