Skip to content

Commit 0c0ff1f

Browse files
committed
fix(scf): eip config
1 parent 880136e commit 0c0ff1f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/baas/scf/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ class Scf {
7272
functionConfigure['VpcConfig.SubnetId'] = inputs.vpcConfig.subnetId;
7373
}
7474
}
75-
if (inputs.eip) {
76-
functionConfigure['EipConfig.EipFixed'] = 'TRUE';
77-
}
75+
functionConfigure['EipConfig.EipFixed'] = inputs.eip === true ? 'TRUE' : 'FALSE';
7876
if (inputs.layers) {
7977
inputs.layers.forEach((item, index) => {
8078
functionConfigure[`Layers.${index}.LayerName`] = item.name;

0 commit comments

Comments
 (0)