✏️ fix outdated function name in comment

This commit is contained in:
Florian Beisel 2024-01-17 22:20:29 +01:00
parent 6ee74a3979
commit 49281f2ca8
Signed by: florian
GPG Key ID: 79ECA2E54996FF4D
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func getHostnameRuleByCategory(category string) (rules.HostnameRule, error) {
} }
} }
// generateHostname handles the hostname generation // CreateOrUpdateHostname handles the hostname generation
func CreateOrUpdateHostname(c *gin.Context, isUpdate bool) { func CreateOrUpdateHostname(c *gin.Context, isUpdate bool) {
category := c.Param("category") category := c.Param("category")
var oldHostname string var oldHostname string