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