jrwren / domasimu

a dnsimple command line client
MIT License
3 stars 6 forks source link

can't add a uri record. #16

Closed jrwren closed 3 years ago

jrwren commented 5 years ago
~/bin/domasimu -u 'xmtp.net test1 URI - http://2899904718/ 300'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x642d92]

goroutine 1 [running]:
main.createOrUpdate(0xc000098a00, 0x7ffd51d326cc, 0x2b, 0xc0001cbb53, 0x3, 0x0, 0x444fe6, 0xc0000841cd, 0x6d6f97)
        /home/jrwren/go/src/github.com/jrwren/domasimu/cmd/domasimu/main.go:279 +0x272
main.main()
        /home/jrwren/go/src/github.com/jrwren/domasimu/cmd/domasimu/main.go:97 +0x7c1
jrwren commented 5 years ago

Because its URL not URI. Still, it shouldn't panic.

jrwren commented 3 years ago

fixed in 2f7175b