Skip to content

Commit

Permalink
Merge pull request #183 from giggls/master
Browse files Browse the repository at this point in the history
Add -replication-interval to import cmd to fix sequenceNumber in last.state.txt
  • Loading branch information
olt authored Dec 13, 2018
2 parents c87a9a2 + 1b56646 commit 3746495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func ParseImport(args []string) Import {
flags.BoolVar(&opts.RevertDeploy, "revertdeploy", false, "revert deploy to production")
flags.BoolVar(&opts.RemoveBackup, "removebackup", false, "remove backups from deploy")
flags.DurationVar(&opts.Base.DiffStateBefore, "diff-state-before", 0, "set initial diff sequence before")
flags.DurationVar(&opts.Base.ReplicationInterval, "replication-interval", time.Minute, "replication interval as duration (1m, 1h, 24h)")

flags.Usage = func() {
fmt.Fprintf(os.Stderr, "Usage: %s %s [args]\n\n", os.Args[0], os.Args[1])
Expand Down

0 comments on commit 3746495

Please sign in to comment.