mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
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:
commit
8fc888e3c9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user