@@ -284,80 +284,79 @@ func stringPointersEqual(a, b *string) bool {
284284// only enabled services are checked
285285func ControlplaneContainerImageMatch (ctx context.Context , controlPlane * corev1beta1.OpenStackControlPlane , version * corev1beta1.OpenStackVersion ) (bool , []string ) {
286286 failedMatches := []string {}
287- if BarbicanImageMatch (ctx , controlPlane , version ) {
287+ if ! BarbicanImageMatch (ctx , controlPlane , version ) {
288288 failedMatches = append (failedMatches , "Barbican" )
289289 }
290- if CinderImageMatch (ctx , controlPlane , version ) {
290+ if ! CinderImageMatch (ctx , controlPlane , version ) {
291291 failedMatches = append (failedMatches , "Cinder" )
292292 }
293- if DesignateImageMatch (ctx , controlPlane , version ) {
293+ if ! DesignateImageMatch (ctx , controlPlane , version ) {
294294 failedMatches = append (failedMatches , "Designate" )
295295 }
296- if DnsmasqImageMatch (ctx , controlPlane , version ) {
296+ if ! DnsmasqImageMatch (ctx , controlPlane , version ) {
297297 failedMatches = append (failedMatches , "Dnsmasq" )
298298 }
299- if GaleraImageMatch (ctx , controlPlane , version ) {
299+ if ! GaleraImageMatch (ctx , controlPlane , version ) {
300300 failedMatches = append (failedMatches , "Galera" )
301301 }
302- if GlanceImageMatch (ctx , controlPlane , version ) {
302+ if ! GlanceImageMatch (ctx , controlPlane , version ) {
303303 failedMatches = append (failedMatches , "Glance" )
304304 }
305- if HeatImageMatch (ctx , controlPlane , version ) {
305+ if ! HeatImageMatch (ctx , controlPlane , version ) {
306306 failedMatches = append (failedMatches , "Heat" )
307307 }
308- if HorizonImageMatch (ctx , controlPlane , version ) {
308+ if ! HorizonImageMatch (ctx , controlPlane , version ) {
309309 failedMatches = append (failedMatches , "Horizon" )
310310 }
311- if IronicImageMatch (ctx , controlPlane , version ) {
311+ if ! IronicImageMatch (ctx , controlPlane , version ) {
312312 failedMatches = append (failedMatches , "Ironic" )
313313 }
314- if KeystoneImageMatch (ctx , controlPlane , version ) {
314+ if ! KeystoneImageMatch (ctx , controlPlane , version ) {
315315 failedMatches = append (failedMatches , "Keystone" )
316316 }
317- if ManilaImageMatch (ctx , controlPlane , version ) {
317+ if ! ManilaImageMatch (ctx , controlPlane , version ) {
318318 failedMatches = append (failedMatches , "Manila" )
319319 }
320- if MemcachedImageMatch (ctx , controlPlane , version ) {
320+ if ! MemcachedImageMatch (ctx , controlPlane , version ) {
321321 failedMatches = append (failedMatches , "Memcached" )
322322 }
323- if RedisImageMatch (ctx , controlPlane , version ) {
323+ if ! RedisImageMatch (ctx , controlPlane , version ) {
324324 failedMatches = append (failedMatches , "Redis" )
325325 }
326- if NeutronImageMatch (ctx , controlPlane , version ) {
326+ if ! NeutronImageMatch (ctx , controlPlane , version ) {
327327 failedMatches = append (failedMatches , "Neutron" )
328328 }
329- if NovaImageMatch (ctx , controlPlane , version ) {
329+ if ! NovaImageMatch (ctx , controlPlane , version ) {
330330 failedMatches = append (failedMatches , "Nova" )
331331 }
332- if OctaviaImageMatch (ctx , controlPlane , version ) {
332+ if ! OctaviaImageMatch (ctx , controlPlane , version ) {
333333 failedMatches = append (failedMatches , "Octavia" )
334334 }
335- if ClientImageMatch (ctx , controlPlane , version ) {
335+ if ! ClientImageMatch (ctx , controlPlane , version ) {
336336 failedMatches = append (failedMatches , "OpenstackClient" )
337337 }
338- if OVNControllerImageMatch (ctx , controlPlane , version ) {
338+ if ! OVNControllerImageMatch (ctx , controlPlane , version ) {
339339 failedMatches = append (failedMatches , "OVNController" )
340340 }
341- if OVNNorthImageMatch (ctx , controlPlane , version ) {
341+ if ! OVNNorthImageMatch (ctx , controlPlane , version ) {
342342 failedMatches = append (failedMatches , "OVNNorth" )
343343 }
344- if OVNDbClusterImageMatch (ctx , controlPlane , version ) {
344+ if ! OVNDbClusterImageMatch (ctx , controlPlane , version ) {
345345 failedMatches = append (failedMatches , "OVNDbCluster" )
346346 }
347- if PlacementImageMatch (ctx , controlPlane , version ) {
347+ if ! PlacementImageMatch (ctx , controlPlane , version ) {
348348 failedMatches = append (failedMatches , "Placement" )
349349 }
350- if RabbitmqImageMatch (ctx , controlPlane , version ) {
350+ if ! RabbitmqImageMatch (ctx , controlPlane , version ) {
351351 failedMatches = append (failedMatches , "Rabbitmq" )
352352 }
353- if SwiftImageMatch (ctx , controlPlane , version ) {
353+ if ! SwiftImageMatch (ctx , controlPlane , version ) {
354354 failedMatches = append (failedMatches , "Swift" )
355355 }
356- if TelemetryImageMatch (ctx , controlPlane , version ) {
356+ if ! TelemetryImageMatch (ctx , controlPlane , version ) {
357357 failedMatches = append (failedMatches , "Telemetry" )
358358 }
359-
360- if WatcherImageMatch (ctx , controlPlane , version ) {
359+ if ! WatcherImageMatch (ctx , controlPlane , version ) {
361360 failedMatches = append (failedMatches , "Watcher" )
362361 }
363362
0 commit comments