Do not return error on hijacked connection for docker exec

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: d6ccc0e09fe42d9f0d929dbf8d68ce790f4c8b9e
Component: engine
This commit is contained in:
Lei Jitang
2016-03-24 08:52:13 -04:00
parent c92d23eb40
commit afd62f19a9

View File

@ -112,7 +112,6 @@ func (s *containerRouter) postContainerExecStart(ctx context.Context, w http.Res
}
stdout.Write([]byte(err.Error()))
logrus.Errorf("Error running exec in container: %v\n", err)
return err
}
return nil
}