mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
@ -104,6 +104,8 @@ func updateSpec(request *requests.CreateFunctionRequest, spec *swarm.ServiceSpec
|
||||
},
|
||||
}
|
||||
|
||||
spec.TaskTemplate.Resources = buildResources(request)
|
||||
|
||||
spec.TaskTemplate.Placement = &swarm.Placement{
|
||||
Constraints: constraints,
|
||||
}
|
||||
|
Reference in New Issue
Block a user