Commit b06094f0 authored by Minhan Xia's avatar Minhan Xia

explictly check log tainted string

parent 7d2f2f4b
...@@ -408,6 +408,10 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { ...@@ -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]++
} }
......
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