When removing SRV record using dns module. There's an error.
akamai dns --edgerc ./dns_cred.txt rm-record SRV 20181212.yctest.xyz --name _sip._tls --target ipcenter001.20181212.yctest.xyz --priority 0 --weight 0 --port 443
Removing SRV record.... panic: interface conversion: interface {} is uint, not uint16
goroutine 1 [running]:
github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1.(*Zone).findSrvRecord(0xc4200e4d80, 0xc420190ad8, 0x140174b, 0x3, 0x1)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1/zone.go:1480 +0x695
github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1.(*Zone).FindRecords(0xc4200e4d80, 0x1401760, 0x3, 0xc420190ad8, 0xc420190ce0, 0xc4200e2600, 0x20)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1/zone.go:843 +0x44e
main.cmdRmRecord(0xc42017a2c0, 0x101010100, 0xc42017a2c0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/command_rm_record.go:100 +0xc63
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.HandleAction(0x1386100, 0x141a0f8, 0xc42017a2c0, 0xc4200ba400, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:490 +0xc8
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.Run(0x1401760, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:210 +0xa36
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.(*App).RunAsSubcommand(0xc4200a6d00, 0xc42017a000, 0x0, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:379 +0xa10
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.startApp(0x14031d6, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:298 +0x8d9
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.Run(0x14031d6, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:98 +0x1246
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.(*App).Run(0xc4200a6b60, 0xc4200b4000, 0x10, 0x10, 0x0, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:255 +0x6a0
main.main()
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/akamai-dns.go:37 +0xcf
When removing SRV record using dns module. There's an error.
Removing SRV record.... panic: interface conversion: interface {} is uint, not uint16
goroutine 1 [running]:
github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1.(*Zone).findSrvRecord(0xc4200e4d80, 0xc420190ad8, 0x140174b, 0x3, 0x1)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1/zone.go:1480 +0x695
github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1.(*Zone).FindRecords(0xc4200e4d80, 0x1401760, 0x3, 0xc420190ad8, 0xc420190ce0, 0xc4200e2600, 0x20)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1/zone.go:843 +0x44e
main.cmdRmRecord(0xc42017a2c0, 0x101010100, 0xc42017a2c0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/command_rm_record.go:100 +0xc63
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.HandleAction(0x1386100, 0x141a0f8, 0xc42017a2c0, 0xc4200ba400, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:490 +0xc8
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.Run(0x1401760, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:210 +0xa36
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.(*App).RunAsSubcommand(0xc4200a6d00, 0xc42017a000, 0x0, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:379 +0xa10
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.startApp(0x14031d6, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:298 +0x8d9
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.Command.Run(0x14031d6, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/command.go:98 +0x1246
github.com/akamai/cli-dns/vendor/github.com/urfave/cli.(*App).Run(0xc4200a6b60, 0xc4200b4000, 0x10, 0x10, 0x0, 0x0)
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/vendor/github.com/urfave/cli/app.go:255 +0x6a0
main.main()
/Users/dshafik/src/go/src/github.com/akamai/cli-dns/akamai-dns.go:37 +0xcf