Skip to content

Commit

Permalink
remove duplicate import from clustermesh/common
Browse files Browse the repository at this point in the history
Remove duplicate import of clustermesh/types from clustermesh/common

Signed-off-by: Tim Horner <timothy.horner@isovalent.com>
  • Loading branch information
thorn3r committed Jan 24, 2024
1 parent b6e4160 commit 91c9767
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/clustermesh/common/remote_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (

"github.com/cilium/cilium/api/v1/models"
"github.com/cilium/cilium/pkg/clustermesh/types"
cmtypes "github.com/cilium/cilium/pkg/clustermesh/types"
cmutils "github.com/cilium/cilium/pkg/clustermesh/utils"
"github.com/cilium/cilium/pkg/controller"
"github.com/cilium/cilium/pkg/k8s"
Expand Down Expand Up @@ -250,7 +249,7 @@ func (rc *remoteCluster) watchdog(ctx context.Context, backend kvstore.BackendOp
}
}

func (rc *remoteCluster) getClusterConfig(ctx context.Context, backend kvstore.BackendOperations, forceRequired bool) (*cmtypes.CiliumClusterConfig, error) {
func (rc *remoteCluster) getClusterConfig(ctx context.Context, backend kvstore.BackendOperations, forceRequired bool) (*types.CiliumClusterConfig, error) {
var (
err error
requireConfig = forceRequired
Expand Down

0 comments on commit 91c9767

Please sign in to comment.