API options: Fix case when no options are present 40/31640/2
authorVratko Polak <vrpolak@cisco.com>
Mon, 15 Mar 2021 09:02:45 +0000 (10:02 +0100)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 16 Mar 2021 00:46:49 +0000 (00:46 +0000)
commit1d84dc8e8f916bb0854e80e60bad1006d8d7be25
tree2ec9301bc7560d0b66a04631043fc3e970eef48f
parenteb19fb2a7ce7c3a40e3a1a3042a15b0d728e4784
API options: Fix case when no options are present

In that case we want to pass by returning an empty dict,
as docstring already describes.
Before this, the code failed when checking for included version.

Change-Id: Ia0d6b81a64ad0e7027ac7daf15c72ace1f6982ce
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/VppApiCrc.py