@cloudbase/manager-node 4.10.3 → 4.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/function/index.js +4 -1
- package/package.json +1 -1
package/lib/function/index.js
CHANGED
|
@@ -741,10 +741,13 @@ class FunctionService {
|
|
|
741
741
|
// 注意:dnsCache 需要 'TRUE'/'FALSE' 字符串,在特殊处理阶段处理
|
|
742
742
|
'intranetconfig': 'IntranetConfig',
|
|
743
743
|
};
|
|
744
|
+
const { TopicId, LogsetId } = this.getClsServiceConfig();
|
|
744
745
|
// 构建参数
|
|
745
746
|
const params = {
|
|
746
747
|
Namespace: namespace,
|
|
747
|
-
FunctionName: func.name
|
|
748
|
+
FunctionName: func.name,
|
|
749
|
+
ClsTopicId: TopicId,
|
|
750
|
+
ClsLogsetId: LogsetId
|
|
748
751
|
};
|
|
749
752
|
// 白名单字段自动转换(大小写不敏感,统一输出 PascalCase)
|
|
750
753
|
for (const key of Object.keys(func)) {
|