From 4f44d1a50483bfe5e5be48194c0d817669ed61a8 Mon Sep 17 00:00:00 2001 From: Yoann La Cancellera Date: Wed, 13 Mar 2024 09:31:22 +0100 Subject: [PATCH] pt-galera-log-explainer: removed whois deadcode --- src/go/pt-galera-log-explainer/translate/whois.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/go/pt-galera-log-explainer/translate/whois.go b/src/go/pt-galera-log-explainer/translate/whois.go index 2167ef02..5353f00a 100644 --- a/src/go/pt-galera-log-explainer/translate/whois.go +++ b/src/go/pt-galera-log-explainer/translate/whois.go @@ -21,8 +21,6 @@ type WhoisValue struct { SubNodes map[string]*WhoisNode `json:",omitempty"` // associating the next node to a type of value (uuid, ip, node name) } -type subNode map[string]*WhoisNode - // When initiating recursion, instead of iterating over maps we should iterate over a fixed order of types // maps orders are not guaranteed, and there are multiple paths of identifying information // Forcing the order ultimately helps to provide repeatable output, so it helps with regression tests