Skip to content

Commit

Permalink
fix lint error for the rollout package
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Perenesenko <[email protected]>
  • Loading branch information
perenesenko committed Dec 13, 2021
1 parent d64e6a3 commit 713dfe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollout/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
logutil "github.com/argoproj/argo-rollouts/utils/log"
"github.com/argoproj/argo-rollouts/utils/record"
replicasetutil "github.com/argoproj/argo-rollouts/utils/replicaset"
"github.com/argoproj/argo-rollouts/utils/rollout"
rolloututils "github.com/argoproj/argo-rollouts/utils/rollout"
serviceutil "github.com/argoproj/argo-rollouts/utils/service"
)

Expand Down Expand Up @@ -239,7 +239,7 @@ func (c *rolloutContext) reconcilePingAndPongService() error {
return nil
}

if !rollout.IsFullyPromoted(c.rollout) {
if !rolloututils.IsFullyPromoted(c.rollout) {
_, newPingPongService := trafficrouting.GetCurrentPingPong(c.rollout)
if err := c.ensureSVCTargets(newPingPongService, c.newRS); err != nil {
return err
Expand Down

0 comments on commit 713dfe4

Please sign in to comment.