Skip to content

Commit 2709e67

Browse files
committed
Fixed Codacy Static Code Analysis
1 parent 1a1e87c commit 2709e67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/KafkaFlow.Admin/Handlers/PauseConsumerByNameHandler.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ public Task Handle(IMessageContext context, PauseConsumerByName message)
1616
{
1717
var consumer = _consumerAccessor[message.ConsumerName];
1818

19-
if(consumer is null)
19+
if (consumer is null)
20+
{
2021
return Task.CompletedTask;
22+
}
2123

2224
var assignment = consumer.FilterAssigment(message.Topics);
2325

0 commit comments

Comments
 (0)