Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Commit 5dde11f

Browse files
fix(google): Add partner metadata on clone (#10161) (#10162)
* 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 <63310723+edgarulg@users.noreply.github.com>
1 parent ee3a32b commit 5dde11f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/google/src/serverGroup/configure/serverGroupCommandBuilder.service.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,11 @@ angular
521521
populateTags(serverGroup.launchConfig.instanceTemplate.properties.tags, command);
522522
populateLabels(serverGroup.instanceTemplateLabels, command);
523523
populateAuthScopes(serverGroup.launchConfig.instanceTemplate.properties.serviceAccounts, command);
524+
populateResourceManagerTags(
525+
serverGroup.launchConfig.instanceTemplate.properties.resourceManagerTags,
526+
command,
527+
);
528+
populatePartnerMetadata(serverGroup.launchConfig.instanceTemplate.properties.partnerMetadata, command);
524529

525530
return populateDisksFromExisting(serverGroup.launchConfig.instanceTemplate.properties.disks, command).then(
526531
function () {

0 commit comments

Comments
 (0)