Skip to content

Commit

Permalink
Fix copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Duchesne committed Aug 6, 2018
1 parent c1e78d1 commit b931ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_lambda_event_source_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func resourceAwsLambdaEventSourceMapping() *schema.Resource {
// Using function name or ARN should not be shown as a diff.
// Try to convert the old and new values from ARN to function name
oldFunctionName, oldFunctionNameErr := getFunctionNameFromLambdaArn(old)
newFunctionName, newFunctionNameErr := getFunctionNameFromLambdaArn(old)
newFunctionName, newFunctionNameErr := getFunctionNameFromLambdaArn(new)
return (oldFunctionName == new && oldFunctionNameErr == nil) || (newFunctionName == old && newFunctionNameErr == nil)
},
},
Expand Down

0 comments on commit b931ac5

Please sign in to comment.