File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -126,34 +126,34 @@ func toInt(i *int) int {
126
126
127
127
func hasHealthCheckerChanged (actual * loadbalancer.HealthChecker , desired * loadbalancer.HealthCheckerDetails ) bool {
128
128
if actual == nil {
129
- return ! ( desired == nil )
129
+ return desired != nil
130
130
}
131
131
132
132
if toInt (actual .Port ) != toInt (desired .Port ) {
133
- return false
133
+ return true
134
134
}
135
135
136
136
if toString (actual .ResponseBodyRegex ) != toString (desired .ResponseBodyRegex ) {
137
- return false
137
+ return true
138
138
}
139
139
140
140
if toInt (actual .Retries ) != toInt (desired .Retries ) {
141
- return false
141
+ return true
142
142
}
143
143
144
144
if toInt (actual .ReturnCode ) != toInt (desired .ReturnCode ) {
145
- return false
145
+ return true
146
146
}
147
147
148
148
if toInt (actual .TimeoutInMillis ) != toInt (desired .TimeoutInMillis ) {
149
- return false
149
+ return true
150
150
}
151
151
152
152
if toString (actual .UrlPath ) != toString (desired .UrlPath ) {
153
- return false
153
+ return true
154
154
}
155
155
156
- return true
156
+ return false
157
157
}
158
158
159
159
// TODO(horwitz): this doesn't check weight which we may want in the future to
You can’t perform that action at this time.
0 commit comments