File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ type KafkaCommand struct {
60
60
NonWritable bool `json:"nonWritable,omitempty"`
61
61
62
62
// recover data for io attack
63
- OriginModeOfFiles map [string ]uint32 `json:"- "`
64
- OriginConfig string `json:"- "`
63
+ OriginModeOfFiles map [string ]uint32 `json:"originModeOfFiles,omitempty "`
64
+ OriginConfig string `json:"originConfig,omitempty "`
65
65
}
66
66
67
67
func (c * KafkaCommand ) Validate () error {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ type RedisCommand struct {
47
47
Expiration string `json:"expiration,omitempty"`
48
48
Option string `json:"option,omitempty"`
49
49
50
- OriginCacheSize string `json:"- "`
50
+ OriginCacheSize string `json:"originCacheSize,omitempty "`
51
51
}
52
52
53
53
func (r * RedisCommand ) Validate () error {
You can’t perform that action at this time.
0 commit comments