Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HTTP status codes constants instead of literal numerics #12424

Merged
merged 3 commits into from
Oct 20, 2023

Conversation

simondeziel
Copy link
Member

Fix one of the low hanging fruit found by make staticcheck (see #12422).

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…ntly

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel simondeziel changed the title Use HTTP status code constants instead of literal numerics Use HTTP status codes constants instead of literal numerics Oct 20, 2023
@tomponline tomponline merged commit b880545 into canonical:main Oct 20, 2023
@simondeziel simondeziel deleted the http-status-codes branch October 20, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants