Skip to content

Commit 7488900

Browse files
committed
Linting
1 parent 4637ddb commit 7488900

File tree

1 file changed

+1
-1
lines changed
  • coderd/coderdtest/oidctest

1 file changed

+1
-1
lines changed

coderd/coderdtest/oidctest/idp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ func (f *FakeIDP) OIDCConfig(t testing.TB, scopes []string, opts ...func(cfg *co
810810

811811
func httpErrorCode(defaultCode int, err error) int {
812812
var stautsErr statusHookError
813-
var status = defaultCode
813+
status := defaultCode
814814
if errors.As(err, &stautsErr) {
815815
status = stautsErr.HTTPStatusCode
816816
}

0 commit comments

Comments
 (0)