Copilot commented on code in PR #1475:
URL: https://github.com/apache/dubbo-admin/pull/1475#discussion_r3294393207
##########
pkg/mcp/tools/integration_test.go:
##########
@@ -21,12 +21,12 @@ import (
"encoding/json"
"testing"
+ ctx "context"
+ appcfg "github.com/apache/dubbo-admin/pkg/config/app"
"github.com/apache/dubbo-admin/pkg/mcp/core"
"github.com/apache/dubbo-admin/pkg/mcp/registry"
"github.com/apache/dubbo-admin/pkg/mcp/transport/stdio"
"github.com/apache/dubbo-admin/pkg/mcp/types"
- appcfg "github.com/apache/dubbo-admin/pkg/config/app"
- ctx "context"
)
Review Comment:
The import block isn’t gofmt/goimports-compliant: the stdlib `context`
import (aliased as `ctx`) is placed in the second group after a blank line
alongside project imports. This will be rewritten by gofmt/goimports and can
cause noisy diffs. Please move the `context` import into the stdlib group (and
consider importing it unaliased unless there’s a strong reason to keep the
alias).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]