Skip to content

Commit

Permalink
Fix data_pipeline unit test - error code not properly caught (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble authored Feb 11, 2021
1 parent 48d1b48 commit 5195a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/data_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def pipeline_description(client, dp_id):
"""
try:
return client.describe_pipelines(pipelineIds=[dp_id])
except is_boto3_error_code('PipelineNotFoundException', 'PipelineDeletedException'):
except is_boto3_error_code(['PipelineNotFoundException', 'PipelineDeletedException']):
raise DataPipelineNotFound


Expand Down

0 comments on commit 5195a6c

Please sign in to comment.