Whamcloud - gitweb
LU-12513 utils: add handling YAML_NO_TOKEN 28/35428/5
authorBen Evans <bevans@cray.com>
Sat, 6 Jul 2019 23:23:42 +0000 (19:23 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Jul 2019 06:21:57 +0000 (06:21 +0000)
commit494d4b6b73dd0c1aa751c77f5830616415dcb97b
treeb04877982d5ba66334e32e4b21b713d7fb3a9a76
parent0c24502450e25298b6704dbe1b0a6d4005467c3c
LU-12513 utils: add handling YAML_NO_TOKEN

YAML_NO_TOKEN is something that is not a key value pair, either
an entry or exit into a sub-structure. The parser equates it to
an error. This flaw makes a YAML format that is valid be treated
as invalid. Add handling YAML_NO_TOKEN as a valid setting. This
flaw was discovered in the patch for the LU-6081 work.

Test-Parameters: trivial

Change-Id: Ibe0c0a2bea22b26a0dd2d900b7a4a5957b96e3da
Signed-off-by: Ben Evans <bevans@cray.com>
Reviewed-on: https://review.whamcloud.com/35428
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/utils/lnetconfig/cyaml.c