Skip to content

Commit

Permalink
Fix data_pipeline unit test - error code not properly caught (ansible…
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble authored Feb 11, 2021
1 parent f514955 commit 063c26a
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 063c26a

Please sign in to comment.