-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
bugload-balancerLoad-balancer issues, bugs and feature requestsLoad-balancer issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues
Description
$ go run -v ./cmd/scw lb subscriber create name=foobar
---------------------------------------------------------------------------------------
An error occurred, we are sorry, please consider opening a ticket on github using: 'scw feedback bug'
Give us as many details as possible so we can reproduce the error and fix it.
---------------------------------------------------------------------------------------
could not validate arg value for 'email-config.email': invalid field name 'EmailConfig.email': case is not handled
stacktrace from panic:
goroutine 1 [running]:
runtime/debug.Stack()
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:24 +0x65
main.cleanup(0xc0002c63f0)
/Users/sieben/workspace/scaleway-cli/cmd/scw/main.go:39 +0xba
panic({0x170e600, 0xc000090530})
/usr/local/opt/go/libexec/src/runtime/panic.go:884 +0x213
github.com/scaleway/scaleway-cli/v2/internal/core.validateRequiredArgs(0x0?, {0x16d8900?, 0xc000518e80}, {0xc000308200, 0x2, 0x2})
/Users/sieben/workspace/scaleway-cli/internal/core/validate.go:85 +0x33e
github.com/scaleway/scaleway-cli/v2/internal/core.DefaultCommandValidateFunc.func1({0x1940238, 0xc0003ae450}, 0xc000518e80?, {0x16d8900, 0xc000518e80}, {0xc000308200, 0x2, 0x2})
/Users/sieben/workspace/scaleway-cli/internal/core/validate.go:30 +0x95
github.com/scaleway/scaleway-cli/v2/internal/core.run({0x1940238, 0xc0003ae450}, 0xc00031f7a0?, 0xc00034e000, {0xc000308200, 0x2, 0x2})
/Users/sieben/workspace/scaleway-cli/internal/core/cobra_utils.go:137 +0x1a9
github.com/scaleway/scaleway-cli/v2/internal/core.cobraRun.func1(0xc000459500?, {0xc000524320, 0x1, 0x1})
/Users/sieben/workspace/scaleway-cli/internal/core/cobra_utils.go:47 +0x59d
github.com/spf13/cobra.(*Command).execute(0xc000459500, {0xc0005242e0, 0x1, 0x1})
/Users/sieben/go/pkg/mod/github.com/spf13/[email protected]/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004900)
/Users/sieben/go/pkg/mod/github.com/spf13/[email protected]/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/Users/sieben/go/pkg/mod/github.com/spf13/[email protected]/command.go:968
github.com/scaleway/scaleway-cli/v2/internal/core.Bootstrap(0xc00012bec8)
/Users/sieben/workspace/scaleway-cli/internal/core/bootstrap.go:249 +0x1138
main.main()
/Users/sieben/workspace/scaleway-cli/cmd/scw/main.go:71 +0x286
Metadata
Metadata
Assignees
Labels
bugload-balancerLoad-balancer issues, bugs and feature requestsLoad-balancer issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesBugs filled by customers, security issues