honnix
03/15/2023, 11:35 AM<http://sigs.k8s.io/yaml|sigs.k8s.io/yaml>
in flytectl: https://github.com/flyteorg/flytectl/blob/cea39d9bdf2476f9a5313d1bf19bf08b3923237a/cmd/create/execution_util.go#L13. I'm asking because it depends on go-yaml v2, which does not support yaml 1.2. More specifically, it has weird handling of n
, y
, no
, yes
, etc. when coming to key name, see https://github.com/go-yaml/yaml/issues/214. If an input argument is named as n
, when creating an execution via a execution spec file, that argument must be quoted as "n"
, otherwise flytectl would fail because when unmarshalling n
is parsed as false
as the argument name.Prafulla Mahindrakar
03/15/2023, 6:23 PMhonnix
03/16/2023, 6:25 AMPrafulla Mahindrakar
03/16/2023, 9:20 PMhonnix
03/16/2023, 9:21 PM