mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #20364 from freehan/estest
explictly check log tainted string
This commit is contained in:
commit
cacda7bc7a
@ -407,6 +407,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