Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #189 from reachjs/master
Browse files Browse the repository at this point in the history
patch for cloud-api lambda issue
  • Loading branch information
UnleashedMind authored Oct 10, 2018
2 parents 8615501 + c766af5 commit 90dc282
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/backend-operations/ops-cloud-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@ function getHandlerName(lambdaFunction){
let result;
if(lambdaFunction.attributes && lambdaFunction.attributes.configHandlerName){
result = lambdaFunction.attributes.configHandlerName;
}else if(lambdaFunction.name){
const substrs = lambdaFunction.name.split('-');
if(substrs.length > 2){
result = substrs[1];
}
}
return result;
}
Expand Down

0 comments on commit 90dc282

Please sign in to comment.