Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/relui: display parameters, even if their type isn't string
Some parameters have a type other than string, so unmarshaling them into a map with string value type would fail. Prefer to make such problems visible by returning any non-nil errors from workflowParams to caller. For now, display parameter values in their JSON form, since it's simple, quite human readable, and has a nice side-effect of turning any leading or trailing spaces apparent. (In the future we can consider investing into a more elaborate parameter layout, as needed.) Fixes golang/go#54240. Change-Id: I2a6048e5b5b0d42257b6088c8ba01b26216a3c39 Reviewed-on: https://go-review.googlesource.com/c/build/+/422554 Reviewed-by: Jenny Rakoczy <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
- Loading branch information