fix (aws): Filter out null values in list of lambda providers
MODIFY
clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/controllers/FunctionController.java
clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/controllers/FunctionController.java
@@ -58,6 +58,7 @@ public class FunctionController {
functionProviders.stream()
.map(
functionProvider -> functionProvider.getFunction(account, region, functionName))
+ .filter(function -> function != null)
.collect(Collectors.toList());
return myFunction;
} catch (NotFoundException e) {

fix (aws): Filter out null values in list of lambda providers (#4899)

Co-authored-by: smaniyedath <shyam_maniyedath@intuit.com>