mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
explictly check log tainted string
This commit is contained in:
parent
7d2f2f4b89
commit
b06094f09d
@ -408,6 +408,10 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) {
|
|||||||
Logf("Index value out of range: %d", index)
|
Logf("Index value out of range: %d", index)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if words[1] != taintName {
|
||||||
|
Logf("Elasticsearch query return unexpected log line: %s", msg)
|
||||||
|
continue
|
||||||
|
}
|
||||||
// Record the observation of a log line from node n at the given index.
|
// Record the observation of a log line from node n at the given index.
|
||||||
observed[n][index]++
|
observed[n][index]++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user