Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwikranjan committed Jan 2, 2025
1 parent cd5b5e6 commit 697369d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion operator/cilium-crds/k8s/apis/cell.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/sirupsen/logrus"
"github.com/spf13/pflag"

"github.com/cilium/hive/cell"
k8sClient "github.com/cilium/cilium/pkg/k8s/client"
"github.com/cilium/hive/cell"
)

// SkipCRDCreation specifies whether the CustomResourceDefinition will be
Expand Down
2 changes: 1 addition & 1 deletion operator/cilium-crds/k8s/resource_ctors.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/tools/cache"

"github.com/cilium/hive/cell"
cilium_api_v2 "github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2"
cilium_api_v2alpha1 "github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2alpha1"
"github.com/cilium/cilium/pkg/k8s/client"
"github.com/cilium/cilium/pkg/k8s/resource"
"github.com/cilium/cilium/pkg/k8s/utils"
"github.com/cilium/hive/cell"
)

var ErrNotACiliumEndpoint = errors.New("object is not a *cilium_api_v2.CiliumEndpoint")
Expand Down
2 changes: 1 addition & 1 deletion operator/cilium-crds/k8s/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
package k8s

import (
"github.com/cilium/hive/cell"
"github.com/cilium/cilium/pkg/k8s"
cilium_api_v2 "github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2"
cilium_api_v2alpha1 "github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2alpha1"
"github.com/cilium/cilium/pkg/k8s/resource"
slim_corev1 "github.com/cilium/cilium/pkg/k8s/slim/k8s/api/core/v1"
"github.com/cilium/hive/cell"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion operator/cmd/cilium-crds/zap_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"io"

zaphook "github.com/Sytten/logrus-zap-hook"
"github.com/cilium/hive/cell"
"github.com/cilium/cilium/pkg/logging"
"github.com/cilium/cilium/pkg/option"
"github.com/cilium/hive/cell"
"github.com/microsoft/retina/internal/buildinfo"
"github.com/microsoft/retina/pkg/log"
"github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/hubble_config_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package config
import (
"path/filepath"

"github.com/cilium/hive/cell"
"github.com/cilium/cilium/pkg/option"
"github.com/cilium/hive/cell"
sharedconfig "github.com/microsoft/retina/pkg/shared/config"
"github.com/sirupsen/logrus"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/daemon/nodereconciler/cell_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"os"

datapath "github.com/cilium/cilium/pkg/datapath/types"
"github.com/cilium/hive/cell"
"github.com/cilium/cilium/pkg/ipcache"
"github.com/cilium/cilium/pkg/node/types"
"github.com/cilium/hive/cell"
"github.com/microsoft/retina/pkg/config"
"github.com/microsoft/retina/pkg/log"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/apiserver_linux.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package k8s

import (
"github.com/cilium/hive/cell"
"github.com/cilium/cilium/pkg/identity"
"github.com/cilium/cilium/pkg/ipcache"
"github.com/cilium/cilium/pkg/source"
"github.com/cilium/hive/cell"
"github.com/microsoft/retina/pkg/common"
cc "github.com/microsoft/retina/pkg/controllers/cache"
"github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/managers/pluginmanager/cells_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"sync"

"github.com/cilium/hive/cell"
v1 "github.com/cilium/cilium/pkg/hubble/api/v1"
"github.com/cilium/hive/cell"
"github.com/microsoft/retina/pkg/config"
"github.com/microsoft/retina/pkg/metrics"
"github.com/microsoft/retina/pkg/telemetry"
Expand Down

0 comments on commit 697369d

Please sign in to comment.