Skip to content

Commit

Permalink
Merge pull request #25 from devsapp/dev
Browse files Browse the repository at this point in the history
fix: add vpcId in fc-base-sdk inputs
  • Loading branch information
SquatsTonight authored May 28, 2021
2 parents 4e1b920 + d65d31b commit ed46bee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions dist/lib/component/fc-base-sdk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fc-delpoy",
"main": "./dist/index.js",
"version": "0.0.17",
"version": "0.0.18",
"dependencies": {
"@serverless-devs/core": "^0.0.x",
"@types/lodash": "^4.14.168",
Expand Down
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Component
Name: fc-deploy
Provider:
- 阿里云
Version: 0.0.17
Version: 0.0.18
Description: 阿里云函数计算基础组件
HomePage: https://github.com/devsapp/fc-base
Tags:
Expand Down
2 changes: 0 additions & 2 deletions src/lib/component/fc-base-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export class FcBaseSdkComponent extends Component {
if (isAutoConfig(resolvedServiceConf?.vpcConfig)) {
this.logger.debug('Detect vpcConfig: auto in fc-base inputs, fc will delete it.');
delete resolvedServiceConf.vpcConfig;
} else if (resolvedServiceConf?.vpcConfig) {
delete resolvedServiceConf.vpcConfig.vpcId;
}

if (isAutoConfig(resolvedServiceConf?.logConfig)) {
Expand Down

0 comments on commit ed46bee

Please sign in to comment.