Skip to content

Commit b32950c

Browse files
committed
nvme-print-json: do not enable verbose mode on default
The default output format version has been changed to 2. The nighly test break because this enabled the verbose mode for the JSON output. Fixes: b1e8cfa ("nvme: change default output format version to 2") Signed-off-by: Daniel Wagner <[email protected]>
1 parent ba30d1e commit b32950c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nvme-print-json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static void json_id_iocs_iocsc(struct json_object *obj_iocsc, __u64 iocsc)
203203

204204
static bool verbose_mode(void)
205205
{
206-
return json_print_ops.flags & VERBOSE || nvme_args.output_format_ver == 2;
206+
return json_print_ops.flags & VERBOSE;
207207
}
208208

209209
static void json_id_iocs(struct nvme_id_iocs *iocs)

0 commit comments

Comments
 (0)