✏️ fix outdated function name in comment
This commit is contained in:
parent
6ee74a3979
commit
49281f2ca8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue