[PR #2490] [MERGED] error on undefined host in policy #2690

Closed
opened 2025-12-29 03:22:22 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2490
Author: @kradalby
Created: 3/19/2025
Status: Merged
Merged: 5/1/2025
Merged by: @kradalby

Base: mainHead: kradalby/error-on-undef-hostname


📝 Commits (2)

  • 3f0da78 add testcases
  • f4a13b3 policy/v2: add validate to do post marshal validation

📊 Changes

4 files changed (+113 additions, -10 deletions)

View changed files

📝 hscontrol/policy/v2/filter_test.go (+1 -1)
📝 hscontrol/policy/v2/policy.go (+2 -2)
📝 hscontrol/policy/v2/types.go (+50 -6)
📝 hscontrol/policy/v2/types_test.go (+60 -1)

📄 Description

Fixes #2479


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2490 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 3/19/2025 **Status:** ✅ Merged **Merged:** 5/1/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/error-on-undef-hostname` --- ### 📝 Commits (2) - [`3f0da78`](https://github.com/juanfont/headscale/commit/3f0da787bc8f2a80aef2b8d4b3e3ff6eb6517bb6) add testcases - [`f4a13b3`](https://github.com/juanfont/headscale/commit/f4a13b3b97225b11e69fc60e7b46b81fb2adeecb) policy/v2: add validate to do post marshal validation ### 📊 Changes **4 files changed** (+113 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/policy/v2/filter_test.go` (+1 -1) 📝 `hscontrol/policy/v2/policy.go` (+2 -2) 📝 `hscontrol/policy/v2/types.go` (+50 -6) 📝 `hscontrol/policy/v2/types_test.go` (+60 -1) </details> ### 📄 Description Fixes #2479 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:22:22 +01:00
adam closed this issue 2025-12-29 03:22:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2690