summaryrefslogtreecommitdiffstats
path: root/src/harvester-binding.c
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2021-03-02 20:46:43 +0800
committerQiu Tingting <qiutt@fujitsu.com>2021-03-02 20:46:43 +0800
commit24e0029764d502f95f2446ecaf257f76a7c7d6a1 (patch)
tree8b57601e0de88a8ef7485e13a8e1cb7af50cc174 /src/harvester-binding.c
parent673f310ea0138df95a868fc0c21c32b20daed30a (diff)
Bug-AGL: SPEC-3831 Change-Id: I0463552ad9625d1360b06d8026bd03235496579c Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Diffstat (limited to 'src/harvester-binding.c')
-rw-r--r--src/harvester-binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/harvester-binding.c b/src/harvester-binding.c
index 5968fba..fee52ad 100644
--- a/src/harvester-binding.c
+++ b/src/harvester-binding.c
@@ -51,7 +51,7 @@ static void ctrlapi_auth(afb_req_t request)
afb_req_success(request, NULL, NULL);
}
-static afb_verb_t CtrlApiVerbs[] = {
+static const afb_verb_t CtrlApiVerbs[] = {
/* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */
{ .verb = "ping", .callback = ctrlapi_ping, .info = "ping test for API" },
{ .verb = "auth", .callback = ctrlapi_auth, .info = "Authenticate session to raise Level Of Assurance of the session" },