Skip to content

Commit

Permalink
Merge pull request #81 from boxboat/feature/fix-azure-policy-issue
Browse files Browse the repository at this point in the history
Fixing issue when azure policy there are no add on profiles configured
  • Loading branch information
fgauna12 authored Apr 8, 2022
2 parents e6b0d2f + d231d93 commit 57a5c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/clusterSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export function checkForAzurePolicy(clusterDetails) {
let details = [];

// Check if Azure policy is enabled
var azurePolicy = clusterDetails.addonProfiles.azurepolicy;
var azurePolicy = clusterDetails.addonProfiles?.azurepolicy;
var azurePolicyConfigured = azurePolicy && azurePolicy.enabled;

// Log output
Expand Down

0 comments on commit 57a5c6f

Please sign in to comment.