DescriptionAzure Open(), and change to 'name' attribute.
The Open() part is not very interesting. We don't have a NewStorage() yet so
can't do that yet. Some providers have a separate NewEnviron(), called from
Open(), but that didn't look particularly useful just yet.
What is interesting is that the environ's ‘name’ attribute is now initialized
from Open(), and not from SetConfig(). This is in alignment with what Roger
Peppe is doing on the other providers, to squelch a subtle concurrency bug
where the attribute got rewritten with the same value on every config change,
even though it's read outside the lock.
https://code.launchpad.net/~jtv/juju-core/az-open/+merge/171241
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Azure Open(), and change to 'name' attribute. #
Total comments: 2
MessagesTotal messages: 6
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||