-
Notifications
You must be signed in to change notification settings - Fork 85
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
Can't remove SRV record. #71
Comments
Still have this issue after updating to the latest version.
Removing SRV record..... panic: interface conversion: interface {} is uint, not uint16 goroutine 1 [running]: |
Should I open a new Issue about this problem? |
@yuanchang-akm can you try now? |
@dshafik
goroutine 1 [running]: |
@yuanchang-akm how are you updating? |
@dshafik |
@yuanchang-akm can you try an explicit |
@dshafik |
@yuanchang-akm yes, can you confirm that |
@dshafik And we have tried to install dns module in a PC that never installed dns module, |
@dshafik |
@dshafik No response for commands. |
I have been dealing with this for the past couple of days too. The clues are during the install of the dns cli, there were warnings. I bet there was a warning for “go”. Check your terminal history, or un-install/reinstall and verify. To fix:
If you get an error about “dep”, it is because your GOPATH env variable is missing. Follow https://github.com/golang/go/wiki/SettingGOPATH to resolve. If this works for you, please reply to confirm. |
@justinrummel |
I’ll work with @dshafik now that we know the issue. Thanks for confirming! |
@justinrummel |
@yuanchang-akm this should not have needed you to install Golang/dep, however the macOS binary was corrupted. I have fixed this issue and |
@dshafik |
@yuanchang-akm thanks for the confirmation, I'll go ahead and close this now. |
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
The text was updated successfully, but these errors were encountered: