Merge PR #31412 into master

* refs/pull/31412/head:
	osd: send smart asok result to stdout, not stderr

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Sage Weil 2019-11-05 08:38:47 -06:00
commit 8fc888e3c9

View File

@ -2643,7 +2643,9 @@ will start to track new ops received afterwards.";
} else if (prefix == "smart") {
string devid;
cmd_getval(cct, cmdmap, "devid", devid);
probe_smart(devid, ss);
ostringstream out;
probe_smart(devid, out);
outbl.append(out.str());
} else if (prefix == "list_devices") {
set<string> devnames;
store->get_devices(&devnames);