Skip to content

Commit

Permalink
Adding verbose logging for img-5
Browse files Browse the repository at this point in the history
  • Loading branch information
fgauna12 committed Jul 19, 2021
1 parent 1d6cc6e commit b982216
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/imageManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export async function checkForAksAcrRbacIntegration(clusterDetails, containerReg
if (problemRegistries.length) {
let message = `${problemRegistries.length} registries did not have AKS/ACR RBAC integration`;

if (global.verbose) {
problemRegistries.forEach(x => message += `${EOL}${space}${x}`);
}

details.push({
status: ResultStatus.Fail,
message: message
Expand Down

0 comments on commit b982216

Please sign in to comment.