Descriptionenviron: add SetConfig
Discussion:
This proposal adds the ability for Environs to update their configuration.
This facility replaces the previously proposed proxy Environ and provides
more explicit control over when an Environs configuration is updated.
After much discussion on IRC it is important to highlight that the values
returned from Environ.{Public,}Storage are immutable with respect to any
configuration change via Environ.SetConfig. To use the updated Environ
configuration, callers must obtain a new reference to Storages.
Additionally, in the dummy provider, the zookeeper value is still parsed
as a configuration item but is not used. It wasn't used before either, so
I've removed it from dummy.environConfig.
https://code.launchpad.net/~dave-cheney/juju/go-environs-setconfig/+merge/107357
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : environ: add SetConfig #
Total comments: 6
Patch Set 3 : environ: add SetConfig #Patch Set 4 : environ: add SetConfig #Patch Set 5 : environ: add SetConfig #Patch Set 6 : environ: add SetConfig #
MessagesTotal messages: 13
|