diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-04-24 10:29:41 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-04-24 14:40:06 +0000 |
commit | 0d0c5909369df0e9184f8b8864823eca53733764 (patch) | |
tree | 60633122818e285203d7191fcee881ed475fd4cf | |
parent | 804255c9f01c5a6a5d0b24db3923c814510f21bc (diff) |
hsa: fix http client error handling
Type: fix
Change-Id: I5595260b903e3e1f15caccd168914f33f7161b59
Signed-off-by: Matus Fabian <matfabia@cisco.com>
-rw-r--r-- | src/plugins/hs_apps/http_client_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/http_client_cli.c b/src/plugins/hs_apps/http_client_cli.c index f44d4e1bcd1..8de9ff8fd37 100644 --- a/src/plugins/hs_apps/http_client_cli.c +++ b/src/plugins/hs_apps/http_client_cli.c @@ -411,7 +411,7 @@ hcc_run (vlib_main_t *vm) vec_free (hcm->http_response); break; default: - clib_error_return (0, "unexpected event %d", event_type); + err = clib_error_return (0, "unexpected event %d", event_type); break; } |