Similarityoung opened a new pull request, #1062: URL: https://github.com/apache/dubbo-go-pixiu/pull/1062
The push CI runs for #1058 and #1059 fail after rebasing onto develop because the lint diff includes auth tests that explicitly construct the deprecated `jwt.StandardClaims` type, producing `SA1019` errors. Initialize the existing `CustomClaims` type and assign its `ExpiresAt` field in the seven fixtures. This preserves the claims values and existing assertions while removing the deprecated type references. No tests are added. Validation: - golangci-lint v2.4.0 against the pre-rebase `28a2d1f` revision, with `--max-same-issues=0`: seven errors before the change, zero issues after it. - `go test -mod=readonly ./admin/controller/auth -gcflags=-l -race`: all six existing tests pass. - `git diff --check` passes. -- 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]
