Commit 14d669d
🐛 Do not update anything but status when using subresource client (#2479)
* update subresource client to not incude metadata
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
* Test showing labels and annotations stored during fake client.Status().Update()
* add test case to show it will not override other status fields when updating
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
* delete copyNonStatusFrom function, change test case description
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
---------
Signed-off-by: Troy Connor <troy0820@users.noreply.github.com>
Co-authored-by: Adam Berlin <aberlin@vmware.com>1 parent 3cff062 commit 14d669d
2 files changed
+39
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| |||
949 | 950 | | |
950 | 951 | | |
951 | 952 | | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | 953 | | |
992 | 954 | | |
993 | 955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1460 | 1460 | | |
1461 | 1461 | | |
1462 | 1462 | | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1463 | 1470 | | |
1464 | 1471 | | |
1465 | 1472 | | |
| |||
1472 | 1479 | | |
1473 | 1480 | | |
1474 | 1481 | | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
1475 | 1512 | | |
1476 | 1513 | | |
1477 | 1514 | | |
| |||
0 commit comments