Skip to content

Commit

Permalink
skip lint check on copying virtual service object
Browse files Browse the repository at this point in the history
Signed-off-by: Anubhav Aeron <anubhav_aeron@intuit.com>
  • Loading branch information
Anubhav Aeron committed Aug 26, 2022
1 parent 29543c6 commit 2065e57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions admiral/pkg/clusters/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ func handleDestinationRuleEvent(ctx context.Context, obj *v1alpha3.DestinationRu

func handleVirtualServiceEvent(ctx context.Context, obj *v1alpha3.VirtualService, vh *VirtualServiceHandler, event common.Event, resourceType common.ResourceType) error {
var (
//nolint
virtualService = obj.Spec
clusterId = vh.ClusterID
r = vh.RemoteRegistry
Expand Down
2 changes: 0 additions & 2 deletions admiral/pkg/clusters/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
)

func TestGetDependentClusters(t *testing.T) {

identityClusterCache := common.NewMapOfMaps()
identityClusterCache.Put("id1", "dep1", "cl1")
identityClusterCache.Put("id2", "dep2", "cl2")
Expand Down Expand Up @@ -102,7 +101,6 @@ func TestGetDependentClusters(t *testing.T) {
}

func TestIgnoreIstioResource(t *testing.T) {

//Struct of test case info. Name is required.
testCases := []struct {
name string
Expand Down

0 comments on commit 2065e57

Please sign in to comment.