Descriptioncharm: Add config.Convert()
Add a new Config() method to charm config, taking a
map[string]interface{} and returning map[string]interface{},
passing the given values through a schema type checking,
and ignoring the defaults.
This is needed in a follow-up CL that implements most of
upgrade-charm feature's state operations.
https://code.launchpad.net/~dimitern/juju-core/004-upgrade-charm-add-config-convert/+merge/150628
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : charm: Add config.Convert() #
Total comments: 2
Patch Set 3 : charm: Add config.Convert() #Patch Set 4 : charm: Add config.Convert() #
MessagesTotal messages: 7
|