scaleway/scaleway-cli

panic with --commercial-type=1

QuentinPerez opened this issue · 0 comments

panic: runtime error: slice bounds out of range

goroutine 1 [running]:
panic(0x4ff620, 0xc820014080)
    /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/scaleway/scaleway-cli/pkg/api.CreateServer(0xc8200a3040, 0xc820098b00, 0x0, 0x0, 0x0, 0x0)
    /Users/quentinperez/go/src/github.com/scaleway/scaleway-cli/pkg/api/helpers.go:336 +0x156f
github.com/scaleway/scaleway-cli/pkg/commands.Run(0x9c17f0, 0xc820080000, 0x9bd198, 0xc820080008, 0x9bd198, 0xc820080010, 0xc820073440, 0x23, 0x23, 0xc82006e0b0, ...)
    /Users/quentinperez/go/src/github.com/scaleway/scaleway-cli/pkg/commands/run.go:175 +0x4e3
github.com/scaleway/scaleway-cli/pkg/cli.runRun(0x832380, 0xc82006e0b0, 0x1, 0x1, 0x0, 0x0)
    /Users/quentinperez/go/src/github.com/scaleway/scaleway-cli/pkg/cli/cmd_run.go:126 +0x61d
github.com/scaleway/scaleway-cli/pkg/cli.Start(0xc82006e070, 0x5, 0x5, 0xc82011c4b0, 0xc82006e058, 0x0, 0x0)
    /Users/quentinperez/go/src/github.com/scaleway/scaleway-cli/pkg/cli/main.go:117 +0xc15
main.main()
    /Users/quentinperez/go/src/github.com/scaleway/scaleway-cli/cmd/scw/main.go:19 +0x8a