mirror of
https://github.com/openfaas/faas.git
synced 2025-06-12 18:26:49 +00:00
Add comment
This commit is contained in:
parent
873d7a69e9
commit
54d16013bb
@ -112,6 +112,8 @@ func makeSpec(request *requests.CreateFunctionRequest) swarm.ServiceSpec {
|
|||||||
swarm.NetworkAttachmentConfig{Target: request.Network},
|
swarm.NetworkAttachmentConfig{Target: request.Network},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: request.EnvProcess should only be set if it's not nil, otherwise we override anything in the Docker image already
|
||||||
|
|
||||||
spec := swarm.ServiceSpec{
|
spec := swarm.ServiceSpec{
|
||||||
TaskTemplate: swarm.TaskSpec{
|
TaskTemplate: swarm.TaskSpec{
|
||||||
RestartPolicy: &swarm.RestartPolicy{
|
RestartPolicy: &swarm.RestartPolicy{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user