contabo / cntb

Contabo Command Line Interface
https://contabo.com
GNU General Public License v3.0
179 stars 24 forks source link

Fix runtime panic error due to index out of range #3

Closed zaninime closed 2 years ago

zaninime commented 2 years ago
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
contabo.com/cli/cntb/cmd/roles.glob..func6(0xfa8100, {0xc0001ef4f0, 0x1, 0x1})
    /builds/arcus/customer-tools/cntb/cmd/roles/edit.go:85 +0x1b9