Commit 54da66a
authored
Clear (existing) error cond from Subscription, once error resolved (#3166)
The func `removeSubsCond` takes in a list of pointers to Subscription objects, modifies the
objects that the pointers point to, but return a new list of those pointers. A [PR](#2942) included in
the v0.25.0 release [changed the way the output of that function was being used](https://github.com/operator-framework/operator-lifecycle-manager/pull/2942/files#diff-a1760d9b7ac1e93734eea675d8d8938c96a50e995434b163c6f77c91bace9990R1146-R1155) leading to a regression. This PR fixes the `removeSubsCond` function,
fixing the regression as a result.
Closes #3162
Signed-off-by: Anik Bhattacharjee <[email protected]>1 parent 1e0324c commit 54da66a
File tree
3 files changed
+62
-21
lines changed- pkg/controller/operators/catalog
- test/e2e
3 files changed
+62
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
| 1439 | + | |
1443 | 1440 | | |
1444 | 1441 | | |
1445 | 1442 | | |
1446 | 1443 | | |
1447 | 1444 | | |
1448 | 1445 | | |
| 1446 | + | |
1449 | 1447 | | |
1450 | 1448 | | |
1451 | 1449 | | |
| |||
1722 | 1720 | | |
1723 | 1721 | | |
1724 | 1722 | | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
1732 | 1726 | | |
1733 | 1727 | | |
1734 | 1728 | | |
| |||
1737 | 1731 | | |
1738 | 1732 | | |
1739 | 1733 | | |
1740 | | - | |
1741 | 1734 | | |
1742 | | - | |
1743 | 1735 | | |
1744 | 1736 | | |
1745 | 1737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1261 | 1261 | | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | 1264 | | |
1272 | 1265 | | |
1273 | 1266 | | |
| |||
1399 | 1392 | | |
1400 | 1393 | | |
1401 | 1394 | | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
1402 | 1451 | | |
1403 | 1452 | | |
1404 | 1453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2445 | 2445 | | |
2446 | 2446 | | |
2447 | 2447 | | |
2448 | | - | |
| 2448 | + | |
2449 | 2449 | | |
2450 | 2450 | | |
2451 | 2451 | | |
| |||
0 commit comments