Skip to content

Commit

Permalink
Resolved PR conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
AkhtarAmir committed Aug 29, 2020
1 parent 99ac135 commit fa0c3ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion collectors/aws/collector.js
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,6 @@ var collect = function(AWSConfig, settings, callback) {
if (err) collection[serviceLower][callKey][region].err = err;

if (!data) return regionCb();

if (callObj.property && !data[callObj.property]) return regionCb();
if (callObj.secondProperty && !data[callObj.secondProperty]) return regionCb();

Expand Down Expand Up @@ -1112,6 +1111,7 @@ var collect = function(AWSConfig, settings, callback) {
});
} else {
var executor = new AWS[service](LocalAWSConfig);

if (!collection[callObj.reliesOnService][callObj.reliesOnCall][LocalAWSConfig.region] ||
!collection[callObj.reliesOnService][callObj.reliesOnCall][LocalAWSConfig.region].data) {
return regionCb();
Expand Down
6 changes: 3 additions & 3 deletions exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ module.exports = {
'eksLoggingEnabled' : require(__dirname + '/plugins/aws/eks/eksLoggingEnabled.js'),
'eksPrivateEndpoint' : require(__dirname + '/plugins/aws/eks/eksPrivateEndpoint.js'),
'eksSecurityGroups' : require(__dirname + '/plugins/aws/eks/eksSecurityGroups.js'),

'insecureCiphers' : require(__dirname + '/plugins/aws/elb/insecureCiphers.js'),
'elbHttpsOnly' : require(__dirname + '/plugins/aws/elb/elbHttpsOnly.js'),
'elbLoggingEnabled' : require(__dirname + '/plugins/aws/elb/elbLoggingEnabled.js'),
'elbNoInstances' : require(__dirname + '/plugins/aws/elb/elbNoInstances.js'),

'elbv2LoggingEnabled' : require(__dirname + '/plugins/aws/elbv2/elbv2LoggingEnabled.js'),
'elbv2HttpsOnly' : require(__dirname + '/plugins/aws/elbv2/elbv2HttpsOnly.js'),
'elbv2NoInstances' : require(__dirname + '/plugins/aws/elbv2/elbv2NoInstances.js'),
'elbv2WafEnabled' : require(__dirname + '/plugins/aws/elbv2/elbv2WafEnabled.js'),

'esPublicEndpoint' : require(__dirname + '/plugins/aws/es/esPublicEndpoint.js'),
'esRequireIAMAuth' : require(__dirname + '/plugins/aws/es/esRequireIAMAuth.js'),
'esEncryptedDomain' : require(__dirname + '/plugins/aws/es/esEncryptedDomain.js'),
Expand Down

0 comments on commit fa0c3ee

Please sign in to comment.