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). |
||
---|---|---|
.. | ||
display | ||
diy | ||
filestate | ||
httpstate | ||
state | ||
apply.go | ||
apply_test.go | ||
backend.go | ||
backend_test.go | ||
cancellation_scope.go | ||
doc.go | ||
errors.go | ||
inmemoryPersister.go | ||
mock.go | ||
policypack.go | ||
query.go | ||
snapshot.go | ||
snapshot_test.go | ||
stack.go | ||
updates.go | ||
watch.go |