File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ exec bin/drainer \
30
30
--data-dir=" {{.DataDir}}" \
31
31
--log-file=" {{.LogDir}}/drainer.log" \
32
32
--config=conf/drainer.toml \
33
- --initial-commit-ts=" {{.CommitTs}}" 2>> " {{.LogDir}}/drainer_stderr.log"
33
+ --initial-commit-ts={{.CommitTs}} 2>> " {{.LogDir}}/drainer_stderr.log"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type DrainerSpec struct {
38
38
DeployDir string `yaml:"deploy_dir,omitempty"`
39
39
DataDir string `yaml:"data_dir,omitempty"`
40
40
LogDir string `yaml:"log_dir,omitempty"`
41
- CommitTS int64 `yaml:"commit_ts,omitempty "`
41
+ CommitTS int64 `yaml:"commit_ts" default:"-1" validate:"commit_ts:editable "`
42
42
Offline bool `yaml:"offline,omitempty"`
43
43
NumaNode string `yaml:"numa_node,omitempty" validate:"numa_node:editable"`
44
44
Config map [string ]interface {} `yaml:"config,omitempty" validate:"config:ignore"`
You can’t perform that action at this time.
0 commit comments