
Fernando K pushed to branch main at Root / Serviços / DHCP Commits: 1fbd3ec6 by Fernando Monteiro Kiotheka at 2025-07-31T14:29:29-03:00 feat: remove main - - - - - 1 changed file: - render.go Changes: ===================================== render.go ===================================== @@ -340,15 +340,3 @@ func Render(repositoryRootPath, netboxUrl, netboxToken string) { log.Fatalf("Could not execute template: %v", err) } } - -func main() { - netboxUrl := os.Getenv("NETBOX_URL") - if netboxUrl == "" { - panic(errors.New("Environment variable NETBOX_URL should be set")) - } - netboxToken := os.Getenv("NETBOX_TOKEN") - if netboxToken == "" { - panic(errors.New("Environment variable NETBOX_TOKEN should be set")) - } - Render(".", netboxUrl, netboxToken) -} View it on GitLab: https://gitlab.c3sl.ufpr.br/root/services/dhcp/-/commit/1fbd3ec682fcd1f94a55... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/services/dhcp/-/commit/1fbd3ec682fcd1f94a55... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.