DataDog / kvexpress

## Auto-archived due to inactivity. ## Go program to move data in and out of Consul's KV store.
Apache License 2.0
128 stars 13 forks source link

Silly bug caused by me never just running 'kvexpress' by itself. #73

Closed darron closed 8 years ago

darron commented 8 years ago
[staging]root@i-86402c2e:~# kvexpress
panic: runtime error: index out of range

goroutine 1 [running]:
_/home/darron/kvexpress/commands.init.8()
    /home/darron/kvexpress/commands/root.go:78 +0x7df
_/home/darron/kvexpress/commands.init()
    /home/darron/kvexpress/commands/util.go:156 +0x1b9
main.init()
    /home/darron/kvexpress/main.go:46 +0x47

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1721 +0x1

Fixed over here for another project by @darron earlier today: https://github.com/octohost/octo/commit/acf60a8d46dd508c7919b4eaeb5b61d4e2187f88

It's cosmetic but kind of stupid.