Commit 57a2e80
authored
fix(storage): copy metadata when using Copier with grpc (#12919)
We need to not set `destination` on the request unless the user
specifies attrs. Since the struct is not a pointer, we have to check if
it is empty to determine if it has not been set.1 parent cc321f4 commit 57a2e80
3 files changed
Lines changed: 35 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
956 | 966 | | |
957 | 967 | | |
958 | 968 | | |
959 | 969 | | |
960 | 970 | | |
961 | 971 | | |
962 | | - | |
| 972 | + | |
963 | 973 | | |
964 | 974 | | |
965 | 975 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2406 | 2406 | | |
2407 | 2407 | | |
2408 | 2408 | | |
2409 | | - | |
| 2409 | + | |
2410 | 2410 | | |
2411 | 2411 | | |
2412 | 2412 | | |
| |||
2434 | 2434 | | |
2435 | 2435 | | |
2436 | 2436 | | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
2437 | 2445 | | |
2438 | 2446 | | |
2439 | 2447 | | |
| |||
2518 | 2526 | | |
2519 | 2527 | | |
2520 | 2528 | | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
2521 | 2537 | | |
2522 | 2538 | | |
2523 | 2539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1672 | 1672 | | |
1673 | 1673 | | |
1674 | 1674 | | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1675 | 1681 | | |
1676 | 1682 | | |
1677 | 1683 | | |
| |||
0 commit comments