From 6828213063977d92e8a8e3fb96739bf510f63bfd Mon Sep 17 00:00:00 2001 From: upodroid Date: Tue, 10 Oct 2023 10:32:44 +0100 Subject: [PATCH] dump nodes even if controlplane is broken --- pkg/dump/dumper.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/dump/dumper.go b/pkg/dump/dumper.go index b6367db9ca..d1452d55f4 100644 --- a/pkg/dump/dumper.go +++ b/pkg/dump/dumper.go @@ -137,10 +137,6 @@ func (d *logDumper) DumpAllNodes(ctx context.Context, nodes corev1.NodeList, add dumped = append(dumped, node) } } - // If none of the special nodes was successfully dumped, there is no value in dumping the rest - if len(dumped) == 0 { - return fmt.Errorf("could not dump any special node") - } for i := range regular { if len(dumped) >= MaxNodesToDump {