BUG - Cloning environment using Qovery CLI results in runtime error

I am using the Qovery CLI (v0.94.10) to clone an existing environment but have run into an error today. After troubleshooting the error we found that it only occurs on one of our projects.

This command is being used for cloning the environment which has been working fine until today:

qovery environment clone --organization <organization> --project <project> --environment <environment> --environment-type <environment_type> --new-environment-name <new_environment_name> --cluster <cluster>

Running the above gives us this error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb7e52f]

goroutine 1 [running]:
github.com/qovery/qovery-cli/cmd.init.func88(0x15081a0, {0xd6a0c4?, 0x4?, 0xd6a0c8?})
	/home/runner/work/qovery-cli/qovery-cli/cmd/environment_clone.go:76 +0x5cf
github.com/spf13/cobra.(*Command).execute(0x15081a0, {0xc000000300, 0xc, 0xc})
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987 +0xab1
github.com/spf13/cobra.(*Command).ExecuteC(0x1502e40)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/qovery/qovery-cli/cmd.Execute()
	/home/runner/work/qovery-cli/qovery-cli/cmd/root.go:20 +0x4a
main.main()
	/home/runner/work/qovery-cli/qovery-cli/main.go:6 +0xf

This issue is no longer reproducible and I will go ahead and close this out.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.