Actions
Bug #9721
closedArrays in key-value parameters can't contain spaces
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Description
Arrays in key-value parameters currently can't contain spaces which is a bit unintuitive. Parsing of the following:
hammer host create --parameters packages='[vim, tmux]'
results in:
{"packages"=>["vim", " tmux"]}
Note the additional leading space in tmux.
Also
hammer host create --parameters formula='a=b+1'
gets parsed wrongly as:
{"formula=a"=>"b+1"}
but it's a minor issue.
Actions