mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[PR #714] [MERGED] Remove port portion of remote_addr to fix Azure deployments #1014
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#1014
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/healthchecks/healthchecks/pull/714
Author: @cam-barts
Created: 10/11/2022
Status: ✅ Merged
Merged: 10/20/2022
Merged by: @cuu508
Base:
master← Head:master📝 Commits (2)
0a698c7Remove port portion of remote_addr22d7684Add IPv4 check to guard clause📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
hc/api/models.py(+2 -0)📄 Description
In an Azure deployment, there were issues saving ping objects to the database because the addresses appear to come in with ports attached to them (123.123.123.123:5314), which breaks the GenericIPAddressField constraint on the Ping model. This had the following results:
I was able to make this change locally and push a container based on it into Azure and the fix works.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.