tables: augeas: Remove trailing slash from /files prefix (#3967)

This commit is contained in:
Omer Katz 2017-11-27 21:38:02 +02:00 committed by Teddy Reed
parent 6068d61068
commit 595fd11284

View File

@ -170,7 +170,7 @@ QueryData genAugeas(QueryContext& context) {
std::ostringstream pattern;
for (const auto& path : paths) {
pattern << "/files/" << path;
pattern << "/files" << path;
patterns.insert(pattern.str());
pattern.clear();