Ver Fonte

Do not return error on hijacked connection for docker exec

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Lei Jitang há 9 anos atrás
pai
commit
d6ccc0e09f
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      api/server/router/container/exec.go

+ 0 - 1
api/server/router/container/exec.go

@@ -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
 }