Commit c49e843
committed
:fakeclient: Don't return items on invalid selector
Currently, if a List call to the fake client references an invalid
fieldSelector, we will return an error and put all items into the passed
List. Avoid putting anything into the passed list if the selector is
invalid.1 parent b88f351 commit c49e843
2 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
603 | 609 | | |
604 | 610 | | |
605 | 611 | | |
606 | 612 | | |
607 | | - | |
| 613 | + | |
608 | 614 | | |
609 | 615 | | |
610 | 616 | | |
611 | 617 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | 618 | | |
618 | 619 | | |
619 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | | - | |
| 1322 | + | |
| 1323 | + | |
1323 | 1324 | | |
| 1325 | + | |
1324 | 1326 | | |
1325 | 1327 | | |
1326 | 1328 | | |
1327 | 1329 | | |
1328 | 1330 | | |
1329 | 1331 | | |
1330 | | - | |
| 1332 | + | |
| 1333 | + | |
1331 | 1334 | | |
| 1335 | + | |
1332 | 1336 | | |
1333 | 1337 | | |
1334 | 1338 | | |
| |||
1337 | 1341 | | |
1338 | 1342 | | |
1339 | 1343 | | |
1340 | | - | |
| 1344 | + | |
| 1345 | + | |
1341 | 1346 | | |
| 1347 | + | |
1342 | 1348 | | |
1343 | 1349 | | |
1344 | 1350 | | |
| |||
0 commit comments