Apply gofmt formatting to all Go files (#588)
## Summary - Applied `gofmt -s -w` across the entire codebase to ensure consistent Go formatting - This will trigger a deployment with minimal code changes ## Test plan - [x] Pre-commit hooks pass - [x] No functional changes, formatting only 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
2d49e5b68c
commit
8bd13d5ed7
1 changed files with 107 additions and 110 deletions
|
|
@ -300,9 +300,9 @@ func TestJWTManager_BlockedNamespaces(t *testing.T) {
|
|||
originalBlocked := auth.BlockedNamespaces
|
||||
auth.BlockedNamespaces = []string{"io.github.spammer"}
|
||||
defer func() { auth.BlockedNamespaces = originalBlocked }()
|
||||
|
||||
|
||||
jwtManager := auth.NewJWTManager(cfg)
|
||||
|
||||
|
||||
claims := auth.JWTClaims{
|
||||
AuthMethod: auth.MethodGitHubAT,
|
||||
AuthMethodSubject: "spammer",
|
||||
|
|
@ -325,9 +325,9 @@ func TestJWTManager_BlockedNamespaces(t *testing.T) {
|
|||
originalBlocked := auth.BlockedNamespaces
|
||||
auth.BlockedNamespaces = []string{"io.github.spammer"}
|
||||
defer func() { auth.BlockedNamespaces = originalBlocked }()
|
||||
|
||||
|
||||
jwtManager := auth.NewJWTManager(cfg)
|
||||
|
||||
|
||||
claims := auth.JWTClaims{
|
||||
AuthMethod: auth.MethodGitHubAT,
|
||||
AuthMethodSubject: "gooduser",
|
||||
|
|
@ -349,9 +349,9 @@ func TestJWTManager_BlockedNamespaces(t *testing.T) {
|
|||
originalBlocked := auth.BlockedNamespaces
|
||||
auth.BlockedNamespaces = []string{"io.github.badorg"}
|
||||
defer func() { auth.BlockedNamespaces = originalBlocked }()
|
||||
|
||||
|
||||
jwtManager := auth.NewJWTManager(cfg)
|
||||
|
||||
|
||||
claims := auth.JWTClaims{
|
||||
AuthMethod: auth.MethodGitHubAT,
|
||||
AuthMethodSubject: "user",
|
||||
|
|
@ -378,9 +378,9 @@ func TestJWTManager_BlockedNamespaces(t *testing.T) {
|
|||
originalBlocked := auth.BlockedNamespaces
|
||||
auth.BlockedNamespaces = []string{"io.github.spammer"}
|
||||
defer func() { auth.BlockedNamespaces = originalBlocked }()
|
||||
|
||||
|
||||
jwtManager := auth.NewJWTManager(cfg)
|
||||
|
||||
|
||||
claims := auth.JWTClaims{
|
||||
AuthMethod: auth.MethodNone,
|
||||
AuthMethodSubject: "admin",
|
||||
|
|
|
|||
Loading…
Reference in a new issue