sshfp-generator/cloudflare
Jakub Sokołowski 16bc968e21
cloudflare: handle init failures properly
Otherwise the process explodes with:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x656b1b]

goroutine 1 [running]:
infra-sshfp-cf/cloudflare.(*service).FindHostByName(0xc000436600, {0xc00030c510, 0x18})
	/home/admin/sshfp-generator/cloudflare/service.go:25 +0x15b
main.main()
	/home/admin/sshfp-generator/main.go:89 +0x8d0
exit status 2
```
Due to inability to find the configured zone.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-01 18:00:34 +02:00
..
interface.go sshfp-generator: New features and fixes 2022-06-27 17:47:07 +02:00
repository.go cloudflare: handle init failures properly 2022-08-01 18:00:34 +02:00
service.go sshfp-generator: New features and fixes 2022-06-27 17:47:07 +02:00