Do not return error on hijacked connection for docker exec

Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
Lei Jitang 2016-03-24 08:52:13 -04:00
parent 3f568b19e8
commit d6ccc0e09f

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
}