Project

General

Profile

Cleanup #7388

Updated by Loïc Dachary about 10 years ago

Although it appears to "handle a format argument":https://github.com/ceph/ceph/blob/v0.76/src/mon/OSDMonitor.cc#L2231 the prototype of "osd find":https://github.com/ceph/ceph/blob/v0.76/src/mon/MonCommands.h#L347 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" 

Back