Skip to content

Commit

Permalink
Add more feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bjee19 committed Jun 28, 2024
1 parent b9e571f commit 77637c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mode/static/telemetry/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ func collectGraphResourceCount(
ngfResourceCounts.BackendTLSPolicyCount = int64(len(g.BackendTLSPolicies))

for policyKey, policy := range g.NGFPolicies {
switch gvk := policyKey.GVK; gvk.Kind {
switch policyKey.GVK.Kind {
case kinds.ClientSettingsPolicy:
if policy.TargetRefs == nil {
if len(policy.TargetRefs) == 0 {
continue
}

Expand Down

0 comments on commit 77637c1

Please sign in to comment.