Skip to content

Commit

Permalink
compact: simplify wait check
Browse files Browse the repository at this point in the history
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
  • Loading branch information
GiedriusS committed Nov 8, 2019
1 parent 2e79c6a commit 8a9a90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func runCompact(

reg.MustRegister(halted)
reg.MustRegister(retried)
if wait != false {
if wait {
reg.MustRegister(iterations)
}

Expand Down

0 comments on commit 8a9a90d

Please sign in to comment.