File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ ConvertCmd::ConfigList(bool json) const
118118 uint64_t running = gOFS ->mConverterEngine ->NumRunningJobs ();
119119 uint64_t failed = gOFS ->mConverterEngine ->NumFailedJobs ();
120120 int64_t pending = gOFS ->mConverterEngine ->NumPendingJobs ();
121- auto state = (gOFS ->mConverterEngine ->IsRunning () ? " on" : " off" );
122121
123122 if (json) {
124123 Json::Value json;
@@ -133,11 +132,11 @@ ConvertCmd::ConfigList(bool json) const
133132 builder.newStreamWriter ());
134133 jsonwriter->write (json, &out);
135134 } else {
136- out << " Configuration: " << config << " status= " << state << std::endl
137- << " Threadpool: " << threadpool << std::endl
138- << " Running jobs: " << running << std::endl
139- << " Pending jobs: " << pending << std::endl
140- << " Failed jobs : " << failed << std::endl;
135+ out << " Configuration: " << config << std::endl
136+ << " Threadpool : " << threadpool << std::endl
137+ << " Running jobs : " << running << std::endl
138+ << " Pending jobs : " << pending << std::endl
139+ << " Failed jobs : " << failed << std::endl;
141140 }
142141
143142 return out.str ();
You can’t perform that action at this time.
0 commit comments