From d36de01aeb24b7d6d11be78d9db9498f37d72e10 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 10:15:42 +0000 Subject: [PATCH] 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> --- pkg/kubedog/display.go | 3 +-- pkg/kubedog/display_test.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/kubedog/display.go b/pkg/kubedog/display.go index 56af03fc..79a08436 100644 --- a/pkg/kubedog/display.go +++ b/pkg/kubedog/display.go @@ -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} diff --git a/pkg/kubedog/display_test.go b/pkg/kubedog/display_test.go index d542dfb7..fbfeff53 100644 --- a/pkg/kubedog/display_test.go +++ b/pkg/kubedog/display_test.go @@ -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},