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
1 changed file:
Changes:
... | ... | @@ -340,15 +340,3 @@ func Render(repositoryRootPath, netboxUrl, netboxToken string) { |
340 | 340 | log.Fatalf("Could not execute template: %v", err)
|
341 | 341 | }
|
342 | 342 | } |
343 | - |
|
344 | -func main() {
|
|
345 | - netboxUrl := os.Getenv("NETBOX_URL")
|
|
346 | - if netboxUrl == "" {
|
|
347 | - panic(errors.New("Environment variable NETBOX_URL should be set"))
|
|
348 | - }
|
|
349 | - netboxToken := os.Getenv("NETBOX_TOKEN")
|
|
350 | - if netboxToken == "" {
|
|
351 | - panic(errors.New("Environment variable NETBOX_TOKEN should be set"))
|
|
352 | - }
|
|
353 | - Render(".", netboxUrl, netboxToken)
|
|
354 | -} |