提交 a750ce8d 编写于 作者: X xionglei6

add: configurable critical attribute

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 cce62d82
......@@ -528,7 +528,7 @@ int GetCritical(const cJSON *curArrItem, Service *curServ, const char *attrName
cJSON *arrItem = cJSON_GetObjectItem(curArrItem, attrName);
if (arrItem == NULL) {
return SERVICE_SUCCESS;
}
}
if (cJSON_IsNumber(arrItem)) {
return GetServiceAttr(curArrItem, curServ, attrName, flag, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册