Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refuse to run without project_id set #5

Open
displague opened this issue Feb 21, 2021 · 0 comments
Open

refuse to run without project_id set #5

displague opened this issue Feb 21, 2021 · 0 comments

Comments

@displague
Copy link
Member

The current behavior is dangerous:

WARNING: 2021/02/21 21:31:54 main.go:45: Could not list devices GET https://api.equinix.com/metal/v1/projects/devices?include=facility: 404 Not found 
WARNING: 2021/02/21 21:31:55 main.go:58: Could not list vlans GET https://api.equinix.com/metal/v1/projects/virtual-networks: 404 Not found 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x697330]

goroutine 1 [running]:
main.main()
	/code/main.go:61 +0x4b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant