Whamcloud - gitweb
LU-13857 obdclass: Add white space to output valid YAML. 09/41709/8
authorLei Feng <flei@whamcloud.com>
Mon, 22 Feb 2021 02:06:03 +0000 (10:06 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 6 Mar 2021 02:35:46 +0000 (02:35 +0000)
commit151f5322d30ec52a1b99c852e5adbdbbe6fc7e08
treeab401904bf04c381a8df13b3dace26ed516ac04b
parent4ba20d4c211525fbc800eefea0b8f53b64bc48bf
LU-13857 obdclass: Add white space to output valid YAML.

YAML needs a white space after the colon(:) between a pair of key and
value. In this case, if the integer is large enough, it will leave no
white space. So insert the white space forcefully.

Change-Id: I366b5399cc293a66a70ea6084c6a5fa30a58813b
Signed-off-by: Lei Feng <flei@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41709
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/lprocfs_jobstats.c