pt-galera-log-explainer: typo

This commit is contained in:
Yoann La Cancellera
2024-03-12 23:18:20 +01:00
parent 421cadb1a8
commit 4e0f32acb6

View File

@@ -123,7 +123,7 @@ func (logCtx *LogCtx) AddOwnHash(hash string, date time.Time) {
logCtx.OwnHashes = append(logCtx.OwnHashes, hash)
// optimistically assume this new hash will have the same ip/name
// it may be wrong in some situations (all operator related, it will be overriden eventually in those)
// it may be wrong in some situations (all operator related, it will be overridden eventually in those)
// but it will also bridge the gap in sparse on-premise logs
// why only the last one: the earliest information may be obsolete
if lenIPs := len(logCtx.OwnIPs); lenIPs > 0 {