Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bracki committed Feb 16, 2021
1 parent 70f1622 commit 48a500f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,7 @@ export class EventSourceMapping extends cdk.Resource implements IEventSourceMapp

let selfManagedEventSource;
if (props.kafkaBootstrapServers) {
selfManagedEventSource = {
endpoints: {
kafkaBootstrapServers: props.kafkaBootstrapServers,
},
};
selfManagedEventSource = { endpoints: { kafkaBootstrapServers: props.kafkaBootstrapServers } };
}

const cfnEventSourceMapping = new CfnEventSourceMapping(this, 'Resource', {
Expand Down

0 comments on commit 48a500f

Please sign in to comment.