tools: ynl: don't append doc of missing type directly to the type
authorJakub Kicinski <kuba@kernel.org>
Fri, 26 Apr 2024 00:31:11 +0000 (17:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Apr 2024 00:35:03 +0000 (17:35 -0700)
commit5c4c0edca68a5841a8d53ccd49596fe199c8334c
tree8616634cf90437e6b1e84b3e092356be32a64935
parentff9ddaa416d06b2068e524356dfc9d15f84ab62f
tools: ynl: don't append doc of missing type directly to the type

When using YNL in tests appending the doc string to the type
name makes it harder to check that we got the correct error.
Put the doc under a separate key.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240426003111.359285-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/lib/ynl.py