From 5a03420071e80017fbccb62c8ce828b75e1c4a12 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Mon, 23 Aug 2021 12:04:07 -0500 Subject: [PATCH] replace "tail_module" with "tail-module" in json file parse --- runtime/src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/module.c b/runtime/src/module.c index fc7230e..f0810fe 100644 --- a/runtime/src/module.c +++ b/runtime/src/module.c @@ -454,7 +454,7 @@ module_new_from_json(char *file_name) } else { panic("Expected active key to be a JSON boolean, was %s\n", val); } - } else if (strcmp(key, "tail_module") == 0) { + } else if (strcmp(key, "tail-module") == 0) { assert(tokens[i + j + 1].type == JSMN_PRIMITIVE); if (val[0] == 't') { is_tail_module = true;