diff --git a/pkg/driver/deployment/knative.go b/pkg/driver/deployment/knative.go index 0a5e621e..6c501b0a 100644 --- a/pkg/driver/deployment/knative.go +++ b/pkg/driver/deployment/knative.go @@ -53,17 +53,19 @@ func (*knativeDeployer) Deploy(cfg *config.Configuration) { deployed.Add(len(cfg.Functions)) for i := 0; i < len(cfg.Functions); i++ { - queue <- struct{}{} - - knativeDeploySingleFunction( - cfg.Functions[i], - knativeConfig.YamlPath, - knativeConfig.IsPartiallyPanic, - knativeConfig.EndpointPort, - knativeConfig.AutoscalingMetric, - &deployed, - queue, - ) + go func() { + queue <- struct{}{} + + knativeDeploySingleFunction( + cfg.Functions[i], + knativeConfig.YamlPath, + knativeConfig.IsPartiallyPanic, + knativeConfig.EndpointPort, + knativeConfig.AutoscalingMetric, + &deployed, + queue, + ) + }() } deployed.Wait()