Skip to content

Commit e2babd4

Browse files
authored
Update plugins/aws/computeoptimizer/ebsVolumesOptimized.js
1 parent 4055ac2 commit e2babd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/aws/computeoptimizer/ebsVolumesOptimized.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
if (!getRecommendationSummaries) return rcb();
2424

2525
if (getRecommendationSummaries && getRecommendationSummaries.err &&
26-
getRecommendationSummaries.err.code === 'OptInRequiredException'){
26+
getRecommendationSummaries.err.code.toUpperCase() === 'OPTINREQUIREDEXCEPTION'){
2727
helpers.addResult(results, 0,
2828
'Compute Optimizer is not enabled', region);
2929
return rcb();

0 commit comments

Comments
 (0)