Updated changelog

This commit is contained in:
Diptanu Choudhury 2015-11-23 11:01:41 -08:00
parent 3d002b716d
commit ff01b1dbd7
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ BUG FIXES:
* driver/docker: Support `port_map` for static ports [GH-476]
* driver/docker: Pass 0.2.0-style port environment variables to the docker container [GH-476]
* client/service discovery: Make Service IDs unique [GH-479]
* client/restart policy: Not restarting Batch Jobs if the exit code is 0
## 0.2.0 (November 18, 2015)

View File

@ -48,7 +48,7 @@ func (b *batchRestartTracker) increment() {
}
func (b *batchRestartTracker) nextRestart(exitCode int) (bool, time.Duration) {
if (b.count < b.maxAttempts) && (exitCode > 0) {
if b.count < b.maxAttempts && exitCode > 0 {
b.increment()
return true, b.delay
}