Whamcloud - gitweb
LU-13857 obdclass: Add white space to output valid YAML.
authorLei Feng <flei@whamcloud.com>
Mon, 22 Feb 2021 02:06:03 +0000 (10:06 +0800)
committerLi Xi <lixi@ddn.com>
Tue, 9 Mar 2021 12:22:25 +0000 (12:22 +0000)
commit70a65bcd8f89fd3d6da23e521d4b8df260634752
tree6061a4402b37d04a398e01a092fd6478f173d4c7
parenta4d5ae9810bab13c2c46c02145aeb8963aa8e4a2
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.

Lustre-commit: 151f5322d30ec52a1b99c852e5adbdbbe6fc7e08
Lustre-change: https://review.whamcloud.com/41709

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