fix: correct gci import grouping in display.go and display_test.go
Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/7e8f8219-5979-44fb-9729-6138c3aae08b Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
This commit is contained in:
parent
df4521c638
commit
d36de01aeb
|
|
@ -7,8 +7,6 @@ import (
|
|||
"sort"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/term"
|
||||
|
||||
"github.com/werf/kubedog/pkg/tracker/daemonset"
|
||||
"github.com/werf/kubedog/pkg/tracker/deployment"
|
||||
"github.com/werf/kubedog/pkg/tracker/indicators"
|
||||
|
|
@ -16,6 +14,7 @@ import (
|
|||
"github.com/werf/kubedog/pkg/tracker/pod"
|
||||
"github.com/werf/kubedog/pkg/tracker/statefulset"
|
||||
"github.com/werf/kubedog/pkg/utils"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
var statusProgressTableRatio = []float64{.58, .11, .12, .19}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/werf/kubedog/pkg/tracker/daemonset"
|
||||
"github.com/werf/kubedog/pkg/tracker/deployment"
|
||||
"github.com/werf/kubedog/pkg/tracker/job"
|
||||
|
|
@ -131,7 +130,7 @@ func TestDisplayDeploymentStatusProgress_WithWaitingMessage(t *testing.T) {
|
|||
var prev deployment.DeploymentStatus
|
||||
// WaitingForMessages is only rendered when there are pods
|
||||
status := deployment.DeploymentStatus{
|
||||
StatusGeneration: 1,
|
||||
StatusGeneration: 1,
|
||||
WaitingForMessages: []string{"up-to-date 1->3"},
|
||||
Pods: map[string]pod.PodStatus{
|
||||
"myapp-pod-abc": {ReadyContainers: 1, TotalContainers: 1},
|
||||
|
|
|
|||
Loading…
Reference in New Issue