QMP: Simplify monitor_json_emitter()
Use the ternary operator instead of an if (also fixes bad indentation).
Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
Showing
想要评论请 注册 或 登录
Use the ternary operator instead of an if (also fixes bad indentation).
Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>