Skip to content

Commit

Permalink
fix(google): populate resourceManagerTags & partnerMetadata from laun…
Browse files Browse the repository at this point in the history
…chConfig when clone serverGroup
  • Loading branch information
edgarulg committed Jan 17, 2025
1 parent e842772 commit 043ba91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,11 @@ angular
populateTags(serverGroup.launchConfig.instanceTemplate.properties.tags, command);
populateLabels(serverGroup.instanceTemplateLabels, command);
populateAuthScopes(serverGroup.launchConfig.instanceTemplate.properties.serviceAccounts, command);
populateResourceManagerTags(serverGroup.resourceManagerTags, command);
populatePartnerMetadata(serverGroup.partnerMetadata, 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
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,6 @@ angular
return serverGroup;
},
serverGroupCommand: () => {
/* eslint-disable no-console */
console.log('showing server group to clone');
console.log(serverGroup);
console.log(app);
/* eslint-enable no-console */
return gceServerGroupCommandBuilder.buildServerGroupCommandFromExisting(app, serverGroup);
},
},
Expand Down

0 comments on commit 043ba91

Please sign in to comment.