@cloudbase/manager-node 4.6.3-beta.0 → 4.6.3
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/cloudrun/index.js
CHANGED
|
@@ -354,7 +354,7 @@ const SUBMIT_DIFF_MAP = {
|
|
|
354
354
|
CustomLogs: 'LogPath'
|
|
355
355
|
};
|
|
356
356
|
/**
|
|
357
|
-
* 将 object 参数转为 [{key:"Port", IntValue:80}]
|
|
357
|
+
* 将 object 参数转为 [{key:"Port", IntValue:80}] 的格式,并且剔除空字符串
|
|
358
358
|
*/
|
|
359
359
|
function parseObjectToDiffConfigItem(data) {
|
|
360
360
|
const kvs = Object.entries(data);
|
|
@@ -389,7 +389,7 @@ function parseObjectToDiffConfigItem(data) {
|
|
|
389
389
|
Items.push({ Key, FloatValue: v });
|
|
390
390
|
}
|
|
391
391
|
else if (['OpenAccessTypes', 'EntryPoint', 'Cmd'].includes(k)) {
|
|
392
|
-
|
|
392
|
+
Items.push({ Key, ArrayValue: v });
|
|
393
393
|
}
|
|
394
394
|
else if (['PolicyDetails'].includes(k)) {
|
|
395
395
|
Items.push({ Key, PolicyDetails: v });
|
package/package.json
CHANGED
|
@@ -113,6 +113,6 @@ export declare function codeToZip(cwd: string, options?: {
|
|
|
113
113
|
installDependency?: boolean;
|
|
114
114
|
}): Promise<Buffer>;
|
|
115
115
|
/**
|
|
116
|
-
* 将 object 参数转为 [{key:"Port", IntValue:80}]
|
|
116
|
+
* 将 object 参数转为 [{key:"Port", IntValue:80}] 的格式,并且剔除空字符串
|
|
117
117
|
*/
|
|
118
118
|
export declare function parseObjectToDiffConfigItem(data: Partial<ICloudrunServerBaseInfo>): IDiffConfigItem[];
|