Skip to content

Commit

Permalink
mgmt fix servcheck by pom profile changes (#19078)
Browse files Browse the repository at this point in the history
  • Loading branch information
xseeseesee committed Feb 9, 2021
1 parent 2771751 commit 9e744aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/resourcemanager/servcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function readPom(callback) {
process.exit(1);
}
console.log('[INFO] reading modules from pom...');
readProjSpecs(response.pomObject.project.modules.module);
readProjSpecs(response.pomObject.project.profiles.profile[0].modules.module);
});
}

Expand All @@ -32,6 +32,10 @@ function readProjSpecs(modules) {
console.log('[INFO] reading specs in project...');
var map = {};
Object.keys(mappings).forEach(key => {
// skip graphrbac as it moves to MSGraph now
if (key == 'graphrbac') {
return;
}
if (modules.includes(mappings[key].dir)) {
var val = getCurrentApiVersion(mappings[key].args);
if (val !== undefined) {
Expand Down

0 comments on commit 9e744aa

Please sign in to comment.