Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release2.1] reparo: add unit test && add safe mode #662

Merged
merged 7 commits into from
Jul 3, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update safemode's describe
  • Loading branch information
WangXiangUSTC committed Jul 3, 2019
commit e0f58151e272c3368348b2bf7be80c6710ae2f06
2 changes: 1 addition & 1 deletion reparo/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewConfig() *Config {
fs.StringVar(&c.LogLevel, "L", "info", "log level: debug, info, warn, error, fatal")
fs.StringVar(&c.configFile, "config", "", "[REQUIRED] path to configuration file")
fs.BoolVar(&c.printVersion, "V", false, "print reparo version info")
fs.BoolVar(&c.SafeMode, "safe-mode", false, "enable safe mode to make syncer reentrant")
fs.BoolVar(&c.SafeMode, "safe-mode", false, "enable safe mode to support reentrant")
return c
}

Expand Down