Skip to content

Commit baa1b59

Browse files
committed
Fix lint issues by adding missing newlines at the end of several files in Pulsar and Kafka admin tools, improving code readability and consistency across the codebase.
1 parent 76c5c53 commit baa1b59

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

pkg/mcp/builders/kafka/consume_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"testing"
2323

2424
"github.com/sirupsen/logrus"
25+
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2526
"github.com/stretchr/testify/assert"
2627
"github.com/stretchr/testify/require"
27-
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2828
)
2929

3030
func TestKafkaConsumeToolBuilder(t *testing.T) {
@@ -97,4 +97,4 @@ func TestKafkaConsumeToolBuilder(t *testing.T) {
9797
err := builder.Validate(config)
9898
assert.Error(t, err)
9999
})
100-
}
100+
}

pkg/mcp/builders/kafka/produce_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"context"
2222
"testing"
2323

24+
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2425
"github.com/stretchr/testify/assert"
2526
"github.com/stretchr/testify/require"
26-
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2727
)
2828

2929
func TestKafkaProduceToolBuilder(t *testing.T) {
@@ -91,4 +91,4 @@ func TestKafkaProduceToolBuilder(t *testing.T) {
9191
err := builder.Validate(config)
9292
assert.Error(t, err)
9393
})
94-
}
94+
}

pkg/mcp/builders/pulsar/functions_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"context"
2222
"testing"
2323

24+
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2425
"github.com/stretchr/testify/assert"
2526
"github.com/stretchr/testify/require"
26-
"github.com/streamnative/streamnative-mcp-server/pkg/mcp/builders"
2727
)
2828

2929
func TestPulsarAdminFunctionsToolBuilder(t *testing.T) {
@@ -80,4 +80,4 @@ func TestPulsarAdminFunctionsToolBuilder(t *testing.T) {
8080
err := builder.Validate(config)
8181
assert.Error(t, err)
8282
})
83-
}
83+
}

pkg/mcp/pulsar_admin_tenant_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ func PulsarAdminAddTenantTools(s *server.MCPServer, readOnly bool, features []st
4343
for _, tool := range tools {
4444
s.AddTool(tool.Tool, tool.Handler)
4545
}
46-
}
46+
}

pkg/mcp/pulsar_admin_topic_policy_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ func PulsarAdminAddTopicPolicyTools(s *server.MCPServer, readOnly bool, features
4444
for _, tool := range tools {
4545
s.AddTool(tool.Tool, tool.Handler)
4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)