Update GRPC for consistency

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-06-20 17:47:59 -07:00
parent 13e7d3c393
commit 94eafaab60
56 changed files with 3941 additions and 2802 deletions

View File

@@ -389,7 +389,7 @@ func TestContainerProcesses(t *testing.T) {
<-statusC
}
func TestContainerCloseStdin(t *testing.T) {
func TestContainerCloseIO(t *testing.T) {
if testing.Short() {
t.Skip()
}
@@ -456,7 +456,7 @@ func TestContainerCloseStdin(t *testing.T) {
t.Error(err)
}
w.Close()
if err := task.CloseStdin(ctx); err != nil {
if err := task.CloseIO(ctx, WithStdinCloser); err != nil {
t.Error(err)
}
@@ -576,7 +576,7 @@ func TestContainerAttach(t *testing.T) {
}
w.Close()
if err := task.CloseStdin(ctx); err != nil {
if err := task.CloseIO(ctx, WithStdinCloser); err != nil {
t.Error(err)
}