Skip to content

Commit

Permalink
addressing pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandeivert committed Apr 9, 2020
1 parent 706e3a3 commit c49050e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion streamalert_cli/manage_lambda/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _lambda_terraform_targets(config, functions, clusters):
targets = set()
for function in functions:
if not target_mapping[function]['enabled']:
LOGGER.error('Function is not enabled and will be ignored: %s', function)
LOGGER.warning('Function is not enabled and will be ignored: %s', function)
continue

targets.update(target_mapping[function]['targets'])
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/streamalert_cli/manage_lambda/test_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_lambda_terraform_targets(self):
}
assert_equal(result, expected_result)

@patch('logging.Logger.error')
@patch('logging.Logger.warning')
def test_lambda_terraform_targets_invalid_target(self, log_mock):
"""CLI - Deploy, Lambda Terraform Targets, Invalid Target"""
config = basic_streamalert_config()
Expand Down

0 comments on commit c49050e

Please sign in to comment.