Skip to content

Commit

Permalink
fixed the linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Shriram Sharma <[email protected]>
  • Loading branch information
shriramsharma committed Mar 14, 2022
1 parent 3b1269c commit 50e7679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admiral/pkg/clusters/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func handleDestinationRuleEvent(obj *v1alpha3.DestinationRule, dh *DestinationRu

dependentClusters := r.AdmiralCache.CnameDependentClusterCache.Get(destinationRule.Host).Copy()

if dependentClusters != nil && len(dependentClusters) > 0 {
if len(dependentClusters) > 0 {

log.Infof(LogFormat, "Event", "DestinationRule", obj.Name, clusterId, "Processing")

Expand Down Expand Up @@ -435,7 +435,7 @@ func handleVirtualServiceEvent(obj *v1alpha3.VirtualService, vh *VirtualServiceH

dependentClusters := r.AdmiralCache.CnameDependentClusterCache.Get(virtualService.Hosts[0]).Copy()

if dependentClusters != nil && len(dependentClusters) > 0 {
if len(dependentClusters) > 0 {

for _, dependentCluster := range dependentClusters {

Expand Down

0 comments on commit 50e7679

Please sign in to comment.