mirror of https://github.com/pulumi/pulumi.git
87ad394ad8
This PR fixes deployment settings serialization/deserialization: - `repoUrl` was being incorrectly serialized as `repoURL`, which for JSON was not a problem as it is case insensitive ([To unmarshal JSON into a struct, Unmarshal matches incoming object keys to the keys used by Marshal ..., preferring an exact match but also accepting a case-insensitive match.](https://pkg.go.dev/encoding/json#Unmarshal)), but YAML is case sensitive. - `time.Duration` unmarshalling failed as it was not consistent with the way the service "stringifies" the durations. I am bringing the custom marshallers implemented under `DurationMarshaller` (it is called `WorkflowTimeout` in the service but since there is no notion of Workflows here, I renamed to something more explicit). |
||
---|---|---|
.. | ||
api.go | ||
api_endpoints.go | ||
api_test.go | ||
client.go | ||
client_test.go | ||
doc.go | ||
marshal_post_1.20.go | ||
marshal_pre_1.20.go |