From b392333c4080aebd2d592a575081b643fbb68167 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Thu, 16 May 2024 17:31:11 +0200 Subject: [PATCH] FIXME: comment out happy path to test unhappy path --- test/framework/log/collector.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/framework/log/collector.go b/test/framework/log/collector.go index fd0e53d324..bcf63aa3fd 100644 --- a/test/framework/log/collector.go +++ b/test/framework/log/collector.go @@ -94,12 +94,12 @@ func (c *MachineLogCollector) CollectInfrastructureLogs(_ context.Context, _ cli } func (c *MachineLogCollector) machineIPAddresses(ctx context.Context, m *clusterv1.Machine) ([]string, error) { - for _, address := range m.Status.Addresses { - if address.Type != clusterv1.MachineExternalIP { - continue - } - return []string{address.Address}, nil - } + // for _, address := range m.Status.Addresses { + // if address.Type != clusterv1.MachineExternalIP { + // continue + // } + // return []string{address.Address}, nil + // } vmObj, err := c.Finder.VirtualMachine(ctx, m.GetName()) if err != nil {