diff --git a/rollout/context.go b/rollout/context.go index 1f1005e76f..b9b5848e2f 100644 --- a/rollout/context.go +++ b/rollout/context.go @@ -1,9 +1,10 @@ package rollout import ( - logutil "github.com/argoproj/argo-rollouts/utils/log" "time" + logutil "github.com/argoproj/argo-rollouts/utils/log" + log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" "k8s.io/apimachinery/pkg/util/validation/field" diff --git a/rollout/pause.go b/rollout/pause.go index 3f1c4a2570..c714636362 100644 --- a/rollout/pause.go +++ b/rollout/pause.go @@ -1,9 +1,10 @@ package rollout import ( - logutil "github.com/argoproj/argo-rollouts/utils/log" "time" + logutil "github.com/argoproj/argo-rollouts/utils/log" + log "github.com/sirupsen/logrus" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/rollout/replicaset.go b/rollout/replicaset.go index 70a190d5c8..5eac105807 100644 --- a/rollout/replicaset.go +++ b/rollout/replicaset.go @@ -3,10 +3,11 @@ package rollout import ( "context" "fmt" - logutil "github.com/argoproj/argo-rollouts/utils/log" "sort" "time" + logutil "github.com/argoproj/argo-rollouts/utils/log" + appsv1 "k8s.io/api/apps/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/rollout/trafficrouting.go b/rollout/trafficrouting.go index cc1e552d7c..bf03d95ef1 100644 --- a/rollout/trafficrouting.go +++ b/rollout/trafficrouting.go @@ -2,11 +2,12 @@ package rollout import ( "fmt" - logutil "github.com/argoproj/argo-rollouts/utils/log" "reflect" "strconv" "strings" + logutil "github.com/argoproj/argo-rollouts/utils/log" + "github.com/argoproj/argo-rollouts/utils/annotations" "github.com/argoproj/argo-rollouts/rollout/trafficrouting/plugin"