Descriptionadd Initialize
Prior to mstate, state.Initialize would accept a nil argument for the initial config, as this is non sensical this change makes this field manditory by changing it's type from map to *config.Config thereby enforcing a config which is at least valid to be present in the state.
Additionally, calling state.Initialize twice will not result the environment configuration being overwritten.
https://code.launchpad.net/~dave-cheney/juju-core/110-state-initialize/+merge/125500
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state: add Initialize #
Total comments: 1
Patch Set 3 : state: add Initialize #
Total comments: 1
Patch Set 4 : add Initialize #Patch Set 5 : add Initialize #
MessagesTotal messages: 7
|