Skip to content

Commit

Permalink
feat(transparent-proxy): fix golanglint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Chen <1180092+jijiechen@users.noreply.github.com>
  • Loading branch information
jijiechen committed Mar 13, 2024
1 parent a8ae748 commit 2659937
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/plugins/runtime/k8s/controllers/pod_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package controllers
import (
"context"
"fmt"
"regexp"

"github.com/pkg/errors"
kube_core "k8s.io/api/core/v1"
"regexp"
kube_client "sigs.k8s.io/controller-runtime/pkg/client"

mesh_proto "github.com/kumahq/kuma/api/mesh/v1alpha1"
Expand Down
1 change: 1 addition & 0 deletions pkg/test/resources/builders/dataplane_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package builders

import (
"context"

mesh_proto "github.com/kumahq/kuma/api/mesh/v1alpha1"
core_mesh "github.com/kumahq/kuma/pkg/core/resources/apis/mesh"
core_model "github.com/kumahq/kuma/pkg/core/resources/model"
Expand Down
1 change: 0 additions & 1 deletion pkg/xds/generator/dns_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package generator
import (
"context"

Check failure on line 4 in pkg/xds/generator/dns_generator.go

View workflow job for this annotation

GitHub Actions / check

File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kumahq/kuma) --custom-order (gci)
mesh_proto "github.com/kumahq/kuma/api/mesh/v1alpha1"

core_xds "github.com/kumahq/kuma/pkg/core/xds"
util_net "github.com/kumahq/kuma/pkg/util/net"
xds_context "github.com/kumahq/kuma/pkg/xds/context"
Expand Down
3 changes: 1 addition & 2 deletions pkg/xds/generator/transparent_proxy_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ package generator

import (
"context"

Check failure on line 4 in pkg/xds/generator/transparent_proxy_generator.go

View workflow job for this annotation

GitHub Actions / check

File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kumahq/kuma) --custom-order (gci)
mesh_proto "github.com/kumahq/kuma/api/mesh/v1alpha1"

"github.com/pkg/errors"

mesh_proto "github.com/kumahq/kuma/api/mesh/v1alpha1"
core_mesh "github.com/kumahq/kuma/pkg/core/resources/apis/mesh"
model "github.com/kumahq/kuma/pkg/core/xds"
xds_context "github.com/kumahq/kuma/pkg/xds/context"
Expand Down

0 comments on commit 2659937

Please sign in to comment.