Skip to content

Commit c02f0d3

Browse files
Matthew Fishercarmstrong
authored andcommitted
chore(contrib): bump coreos to v349.0.0
Still waiting on Rackspace, as they're still on v338.0.0 as of this commit.
1 parent c8e8426 commit c02f0d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scheduler/coreos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def attach(self, name):
197197
[Service]
198198
ExecStartPre=/usr/bin/docker pull {image}
199199
ExecStartPre=/bin/sh -c "docker inspect {name} >/dev/null 2>&1 && docker rm -f {name} || true"
200-
ExecStart=/bin/sh -c "port=$(docker inspect -f '{{{{range $k, $v := .config.ExposedPorts }}}}{{{{$k}}}}{{{{end}}}}' {image} | cut -d/ -f1) ; docker run --name {name} -P -e PORT=$port {image} {command}"
200+
ExecStart=/bin/sh -c "port=$(docker inspect -f '{{{{range $k, $v := .ContainerConfig.ExposedPorts }}}}{{{{$k}}}}{{{{end}}}}' {image} | cut -d/ -f1) ; docker run --name {name} -P -e PORT=$port {image} {command}"
201201
ExecStop=/usr/bin/docker rm -f {name}
202202
TimeoutStartSec=20m
203203
"""

0 commit comments

Comments
 (0)