Don't display "Time" at the end of dataset in Lifepreserver REST

return call

Fixes: trueos/trueos-core#86
This commit is contained in:
Kris Moore
2016-10-19 15:51:09 -04:00
parent c00cf735ad
commit 301ed021bf

View File

@@ -270,7 +270,7 @@ QJsonObject LifePreserver::listReplication() {
user = parseline.section("@", 0, 0);
host = parseline.section("@", 1, 1).section("[", 0, 0);
port = parseline.section("@", 1, 1).section("[", 1, 1).section("]", 0, 0);
rdset = parseline.section(":", 1, 1);
rdset = parseline.section(":", 1, 1).section(" ", 0, 0);
time = output.at(i).section(" Time:", -1).simplified();
values.insert("dataset", dset);