Skip to content

Commit

Permalink
fix(google): Add partner metadata on clone (#10161) (#10162)
Browse files Browse the repository at this point in the history
* fix(google): populate resourceManagerTags & partnerMetadata when cloning server group

* fix(google): add logs for debug

* fix(google): populate resourceManagerTags & partnerMetadata from launchConfig when clone serverGroup

(cherry picked from commit 3005516)

Co-authored-by: Edgar Garcia <[email protected]>
  • Loading branch information
mergify[bot] and edgarulg authored Jan 21, 2025
1 parent ee3a32b commit 5dde11f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,11 @@ angular
populateTags(serverGroup.launchConfig.instanceTemplate.properties.tags, command);
populateLabels(serverGroup.instanceTemplateLabels, command);
populateAuthScopes(serverGroup.launchConfig.instanceTemplate.properties.serviceAccounts, command);
populateResourceManagerTags(
serverGroup.launchConfig.instanceTemplate.properties.resourceManagerTags,
command,
);
populatePartnerMetadata(serverGroup.launchConfig.instanceTemplate.properties.partnerMetadata, command);

return populateDisksFromExisting(serverGroup.launchConfig.instanceTemplate.properties.disks, command).then(
function () {
Expand Down

0 comments on commit 5dde11f

Please sign in to comment.