Description
When I run stackit
server command create --server-id ... --template-name=RunShellScript
without the --params script=... I get a Go panic
Steps to reproduce
Run stackit server command create --server-id ...--template-name=RunShellScript
Actual behavior
panic: runtime error: invalid memory address or nil pointer dereference
because of the dereferencing in
|
parsedParams, err := runcommandUtils.ParseScriptParams(*model.Params) |
Expected behavior
I would expect the cli to respond with an error about the missing param script field
Environment
- OS: Linux Code-Server VM
- Version of STACKIT CLI:
v0.53.1(installed through nixpkgs)