1
0
mirror of https://github.com/kairos-io/kairos-sdk.git synced 2025-05-13 10:34:39 +00:00
kairos-sdk/unstructured
Itxaka e50888d054
Fix parsing cmdline when keys have a dash ()
* Fix parsing cmdline when keys have a dash

If a key has a dash we need to add quotes to it before parsing it with
gojq, otherwise it will fail AND the full cmdline will not be parsed!

Signed-off-by: Itxaka <itxaka@kairos.io>

* Actualizar bootcmdline_test.go

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-18 17:28:31 +01:00
..
suite_test.go Extract sdk into its own lib 2023-03-15 10:56:11 +01:00
yaml_test.go Extract sdk into its own lib 2023-03-15 10:56:11 +01:00
yaml.go Fix parsing cmdline when keys have a dash () 2024-03-18 17:28:31 +01:00