From 49281f2ca869ade9caa400d778ca1560888f9de2 Mon Sep 17 00:00:00 2001 From: Florian Beisel Date: Wed, 17 Jan 2024 22:20:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20fix=20outdated=20function?= =?UTF-8?q?=20name=20in=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/handlers.go b/api/handlers.go index 928b60e..64ca99a 100644 --- a/api/handlers.go +++ b/api/handlers.go @@ -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) { category := c.Param("category") var oldHostname string