Remove MODULECMD_ARG_OUTPUT argument type
Since the module command interface was expanded to include a JSON output parameter, there is no longer a need for an output DCB. As the JSON can be printed by both maxadmin and the REST API, this allows the removal of explicit output formatting in module commands.
This commit is contained in:
@ -360,12 +360,6 @@ struct cb_param
|
||||
|
||||
bool modulecmd_cb(const MODULECMD *cmd, void *data)
|
||||
{
|
||||
if (modulecmd_requires_output_dcb(cmd))
|
||||
{
|
||||
/** Module requires an output DCB, don't print it */
|
||||
return true;
|
||||
}
|
||||
|
||||
cb_param* d = static_cast<cb_param*>(data);
|
||||
|
||||
json_t* obj = json_object();
|
||||
|
Reference in New Issue
Block a user