mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
docker: do not alloc a tty since this is not interactive
This commit is contained in:
parent
a1b47d99c1
commit
94726ef105
@ -151,7 +151,7 @@ func (c *DockerClient) CreateExec(containerID string, cmd []string) (string, err
|
||||
}
|
||||
|
||||
func (c *DockerClient) StartExec(containerID, execID string) (*circbuf.Buffer, error) {
|
||||
data := struct{ Detach, Tty bool }{Detach: false, Tty: true}
|
||||
data := struct{ Detach, Tty bool }{Detach: false, Tty: false}
|
||||
uri := fmt.Sprintf("/exec/%s/start", execID)
|
||||
b, code, err := c.call("POST", uri, data)
|
||||
switch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user