(other *lbConfig)
| 68 | } |
| 69 | |
| 70 | func (lbCfg *lbConfig) Equal(other *lbConfig) bool { |
| 71 | return lbCfg.kbMap.Equal(other.kbMap) && |
| 72 | lbCfg.lookupService == other.lookupService && |
| 73 | lbCfg.lookupServiceTimeout == other.lookupServiceTimeout && |
| 74 | lbCfg.maxAge == other.maxAge && |
| 75 | lbCfg.staleAge == other.staleAge && |
| 76 | lbCfg.cacheSizeBytes == other.cacheSizeBytes && |
| 77 | lbCfg.defaultTarget == other.defaultTarget && |
| 78 | lbCfg.childPolicyName == other.childPolicyName && |
| 79 | lbCfg.childPolicyTargetField == other.childPolicyTargetField && |
| 80 | lbCfg.controlChannelServiceConfig == other.controlChannelServiceConfig && |
| 81 | childPolicyConfigEqual(lbCfg.childPolicyConfig, other.childPolicyConfig) |
| 82 | } |
| 83 | |
| 84 | func childPolicyConfigEqual(a, b map[string]json.RawMessage) bool { |
| 85 | if (b == nil) != (a == nil) { |
nothing calls this directly
no test coverage detected