Commit cacda7bc authored by Minhan Xia's avatar Minhan Xia

Merge pull request #20364 from freehan/estest

explictly check log tainted string
parents 26202fc9 b06094f0
...@@ -407,6 +407,10 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { ...@@ -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]++
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment