-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Does enable-color depend on set profile?
Once I have installed the volcengine-cli_1.0.28_darwin_arm64.zip and try to enable-color, the above nil pointer exception throw, after set the connection key, and profile, then re set enable color, no error throw
$ ve enable-color
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x1025e655c]
goroutine 1 [running]:
github.com/volcengine/volcengine-cli/cmd.initRootCmd.func1(0x1400102c600, {0x102a0f890, 0x0, 0x0})
github.com/volcengine/volcengine-cli/cmd/cmd_root.go:35 +0x2c
github.com/spf13/cobra.(*Command).execute(0x1400102c600, {0x102a0f890, 0x0, 0x0})
github.com/spf13/cobra@v1.6.1/command.go:920 +0x70c
github.com/spf13/cobra.(*Command).ExecuteC(0x1029d9e00)
github.com/spf13/cobra@v1.6.1/command.go:1044 +0x41c
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.6.1/command.go:968
github.com/volcengine/volcengine-cli/cmd.Execute()
github.com/volcengine/volcengine-cli/cmd/cmd_root.go:52 +0x34
main.main()
github.com/volcengine/volcengine-cli/run.go:10 +0x20
Metadata
Metadata
Assignees
Labels
No labels