@cloudbase/manager-node 4.2.8 → 4.2.9
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
CHANGED
|
@@ -146,6 +146,9 @@ class FunctionService {
|
|
|
146
146
|
functionPath,
|
|
147
147
|
functionRootPath
|
|
148
148
|
}, params.InstallDependency);
|
|
149
|
+
const { TopicId, LogsetId } = this.getClsServiceConfig();
|
|
150
|
+
params.ClsTopicId = TopicId;
|
|
151
|
+
params.ClsLogsetId = LogsetId;
|
|
149
152
|
try {
|
|
150
153
|
// 创建云函数
|
|
151
154
|
const res = await this.scfService.request('CreateFunction', params);
|
package/package.json
CHANGED