Refactor CORS handler (#28587) #12572
Annotations
5 errors
Run make lint-backend:
tests/integration/cors_test.go#L33
NewRequest(t, "OPTIONS", "/api/v1/version").SetHeader undefined (type *"net/http".Request has no field or method SetHeader)
|
Run make lint-backend:
tests/integration/cors_test.go#L49
NewRequest(t, "OPTIONS", "/login/oauth/userinfo").SetHeader undefined (type *"net/http".Request has no field or method SetHeader)
|
Run make lint-backend:
tests/integration/cors_test.go#L73
NewRequest(t, "OPTIONS", "/api/v1/version").SetHeader undefined (type *"net/http".Request has no field or method SetHeader)
|
Run make lint-backend:
tests/integration/cors_test.go#L87
NewRequest(t, "OPTIONS", "/login/oauth/userinfo").SetHeader undefined (type *"net/http".Request has no field or method SetHeader) (typecheck)
|
Run make lint-backend
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading