Skip to content

Commit

Permalink
Fixed an issue where blue green switches weren't being handled gracef…
Browse files Browse the repository at this point in the history
…ully.
  • Loading branch information
Marcus committed Jul 28, 2015
1 parent 2ec223f commit 6f2394d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk_coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ func (this *ZookeeperCoordinator) tryRemoveOldApiRequests(group string, api Cons
if t, err = strconv.ParseInt(string(data), 10, 64); err != nil {
t = int64(0) // If the data isn't a timestamp ensure it will be deleted anyway.
}
} else if api == BlueGreenRequest {
} else if api == BlueGreenDeploymentAPI {
if t, err = strconv.ParseInt(string(request), 10, 64); err != nil {
break
}
Expand Down

0 comments on commit 6f2394d

Please sign in to comment.