diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/PipelineTemplateService.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/PipelineTemplateService.groovy index f6c8f6f3dc..722d2104e3 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/PipelineTemplateService.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/PipelineTemplateService.groovy @@ -44,7 +44,7 @@ class PipelineTemplateService { } List findByScope(List scopes) { - front50Service.getPipelineTemplates((String[]) scopes.toArray()) + front50Service.getPipelineTemplates((String[]) scopes?.toArray()) } Map resolve(String source) {