scaleway / scaleway-cli

Command Line Interface for Scaleway

Home Page:https://www.scaleway.com/en/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scw inspect: panic: runtime error: slice bounds out of range

moul opened this issue · comments

$ scw _flush-cache
Cache flushed
$ scw inspect alpine
- e4f44825          image:alpine-linux                                    Alpine Linux                                 arm
- ab8fbe9e          image:alpine-linux                                    Alpine Linux                                 x86_64
- 2a972c9e          image:x86-64-alpine-latest-2016-03-14-18-48           x86_64-alpine-latest-2016-03-14_18:48        x86_64
- 6b454797          snapshot:x86-64-alpine-latest-2016-03-14-18-48        x86_64-alpine-latest-2016-03-14_18:48        n/a
- 5bb7ebd2          snapshot:ocs-distrib-alpine-latest-2015-04-02-11-06   ocs-distrib-alpine-latest-2015-04-02_11:06   n/a
- 9e9a8d90          snapshot:scw-distrib-alpine-latest-2015-06-19-17-09   scw-distrib-alpine-latest-2015-06-19_17:09   n/a
- 4a1e1893          snapshot:ocs-distrib-alpine-latest-2015-04-02-11-50   ocs-distrib-alpine-latest-2015-04-02_11:50   n/a
- 8cb6255f          snapshot:ocs-distrib-alpine-latest-2015-04-02-09-39   ocs-distrib-alpine-latest-2015-04-02_09:39   n/a
panic: runtime error: slice bounds out of range

goroutine 22 [running]:
panic(0x4f3300, 0xc820012120)
    /usr/local/Cellar/go/1.6.1/libexec/src/runtime/panic.go:464 +0x3e6
github.com/scaleway/scaleway-cli/pkg/api.showResolverResults(0x7fff5fbff85c, 0x6, 0xc820444a00, 0x9, 0x10, 0x0, 0x0)
    /Users/moul/go/src/github.com/scaleway/scaleway-cli/pkg/api/api.go:1993 +0x7df
github.com/scaleway/scaleway-cli/pkg/api.InspectIdentifiers(0xc8200a2f00, 0xc82006e540, 0xc82006e5a0, 0x58c108, 0x1)
    /Users/moul/go/src/github.com/scaleway/scaleway-cli/pkg/api/helpers.go:233 +0x313
created by github.com/scaleway/scaleway-cli/pkg/commands.RunInspect
    /Users/moul/go/src/github.com/scaleway/scaleway-cli/pkg/commands/inspect.go:31 +0x142