File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8585 }
8686
8787 KeyValue struct {
88- Engine KeyValueEngine `yaml:"engine" required:"true" validate:"oneof=redis in_memory" example:"redis / in_memory" default:"redis "`
88+ Engine KeyValueEngine `yaml:"engine" required:"true" validate:"oneof=redis in_memory" example:"redis / in_memory" default:"in_memory "`
8989 }
9090
9191 Transactions struct {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ func (conf PostgresDB) Engine() string {
2525}
2626
2727type RedisDB struct {
28- Addr string `validate:"required " usage:"storage address in format ip:port"`
28+ Addr string `yaml:"addr " usage:"storage address in format ip:port"`
2929 User string `secret:"true" usage:"storage user password"`
3030 Password string `secret:"true" usage:"storage db name"`
3131 DBIndex int `yaml:"db_index" usage:"index of database"`
You can’t perform that action at this time.
0 commit comments