Add comment

This commit is contained in:
Alex Ellis 2017-03-31 20:02:39 +01:00 committed by Alex Ellis
parent 873d7a69e9
commit 54d16013bb

View File

@ -112,6 +112,8 @@ func makeSpec(request *requests.CreateFunctionRequest) swarm.ServiceSpec {
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{
TaskTemplate: swarm.TaskSpec{
RestartPolicy: &swarm.RestartPolicy{