mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 10:55:01 +00:00
pt-galera-log-explainer: typo
This commit is contained in:
@@ -123,7 +123,7 @@ func (logCtx *LogCtx) AddOwnHash(hash string, date time.Time) {
|
|||||||
logCtx.OwnHashes = append(logCtx.OwnHashes, hash)
|
logCtx.OwnHashes = append(logCtx.OwnHashes, hash)
|
||||||
|
|
||||||
// optimistically assume this new hash will have the same ip/name
|
// 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
|
// but it will also bridge the gap in sparse on-premise logs
|
||||||
// why only the last one: the earliest information may be obsolete
|
// why only the last one: the earliest information may be obsolete
|
||||||
if lenIPs := len(logCtx.OwnIPs); lenIPs > 0 {
|
if lenIPs := len(logCtx.OwnIPs); lenIPs > 0 {
|
||||||
|
Reference in New Issue
Block a user