Skip to content

Commit

Permalink
Remove unused ifcheck, not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed May 16, 2018
1 parent 3c1f3c7 commit 30ba203
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions chalice/deploy/deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,6 @@ def _build_lambda_function(self,
# type: (...) -> models.LambdaFunction
function_name = '%s-%s-%s' % (
config.app_name, config.chalice_stage, name)
security_group_ids = config.security_group_ids
subnet_ids = config.subnet_ids
if security_group_ids is None and subnet_ids is None:
security_group_ids = []
subnet_ids = []
security_group_ids, subnet_ids = self._get_vpc_params(name, config)
function = models.LambdaFunction(
resource_name=name,
Expand Down

0 comments on commit 30ba203

Please sign in to comment.