Commit 5bf1e45
authored
fix populateResourceFromAnnotation field setting (#624)
Description of changes:
Since we know the adoptionFields are always going to be `map[string]string`, we don't need to use
`setResourceForScalar`, which handles all types of scalar assignments.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent 6b42111 commit 5bf1e45
File tree
4 files changed
+5530
-20
lines changed- pkg
- generate/code
- testdata
- codegen/sdk-codegen/aws-models
- models/apis/opensearchserverless/0000-00-00
4 files changed
+5530
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | | - | |
| 1386 | + | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | | - | |
1391 | 1390 | | |
1392 | 1391 | | |
1393 | 1392 | | |
| |||
1458 | 1457 | | |
1459 | 1458 | | |
1460 | 1459 | | |
1461 | | - | |
| 1460 | + | |
1462 | 1461 | | |
1463 | 1462 | | |
1464 | 1463 | | |
1465 | | - | |
| 1464 | + | |
1466 | 1465 | | |
1467 | 1466 | | |
1468 | | - | |
1469 | | - | |
| 1467 | + | |
1470 | 1468 | | |
1471 | 1469 | | |
1472 | 1470 | | |
1473 | 1471 | | |
1474 | 1472 | | |
1475 | 1473 | | |
1476 | 1474 | | |
1477 | | - | |
| 1475 | + | |
1478 | 1476 | | |
1479 | 1477 | | |
1480 | 1478 | | |
| |||
1544 | 1542 | | |
1545 | 1543 | | |
1546 | 1544 | | |
1547 | | - | |
1548 | | - | |
1549 | 1545 | | |
1550 | 1546 | | |
1551 | 1547 | | |
1552 | 1548 | | |
1553 | 1549 | | |
1554 | 1550 | | |
1555 | | - | |
1556 | | - | |
1557 | 1551 | | |
1558 | 1552 | | |
1559 | 1553 | | |
1560 | 1554 | | |
1561 | | - | |
1562 | | - | |
1563 | | - | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
| 1555 | + | |
| 1556 | + | |
1570 | 1557 | | |
1571 | 1558 | | |
1572 | 1559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
1815 | 1843 | | |
1816 | 1844 | | |
1817 | 1845 | | |
| |||
0 commit comments