Cleanup #7388
ceph osd find has no format argument
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Although it appears to handle a format argument the prototype of osd find does not allow for it. It could be replaced by a hardcoded "json-pretty". If the format argument is implemented care must be taken than new_format may return null if the format is invalid by handling it gracefully, even if CephChoices limits the choices to the valid formats (or is it used server side for validation also ?).
Same with "osd metadata"
History
#1 Updated by Loïc Dachary about 10 years ago
- Description updated (diff)
#2 Updated by Loïc Dachary about 10 years ago
- Status changed from New to Closed
The --format argument is implicit for all commands.