Al Bailey 37159ae8bd Debian: Fix ugly error deleting a patch strategy
A JSONDecodeError is raised when deleting a patch strategy
that exists. (the error is not seen if no strategy exists)

sw-manager patch-strategy delete
Expecting value: line 1 column 1 (char 0)

The issue is the JSON decoder does not handle an empty
string. The empty string is a byte string on debian which
runs on python3 so the comparison check needed to be
updated.

Test Plan:
  Verify that a patch strategy can be deleted on Debian
without ugly messages.
  Verify that a non existant patch strategy can be deleted
on Debian without ugly messages.

Partial-Bug: 1974475
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I18f84e20abf43a342e996c4752654bad3261e5a6
2022-05-26 19:14:29 +00:00
2018-09-25 14:01:33 -07:00
2019-04-19 19:52:26 +00:00
2018-05-31 07:36:51 -07:00
2018-07-10 10:18:28 -05:00

nfv

StarlingX NFVI Orchestration

Description
StarlingX NFVI Orchestration
Readme 40 MiB
Languages
Python 83.2%
JavaScript 7.1%
C++ 6.6%
Shell 1.5%
Handlebars 0.9%
Other 0.7%