Skip to content

Commit

Permalink
Fix weight metric report
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Mar 8, 2019
1 parent d87bbbb commit 86ea172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (c *Controller) advanceCanary(name string, namespace string, skipLivenessCh
c.recordEventWarningf(cd, "%v", err)
return
}
c.recorder.SetWeight(cd, 100, 0)
c.recorder.SetWeight(cd, 0, 100)

if err := c.deployer.SetStatusIterations(cd, cd.Status.Iterations+1); err != nil {
c.recordEventWarningf(cd, "%v", err)
Expand Down

0 comments on commit 86ea172

Please sign in to comment.