Descriptionagent: implement InitializeState
We combine two existing functions to make
one that hopefully simplifies things a little.
The previous logic in cmd/jujud/bootstrap.go used two agent.Configs
(the bootstrap config for the state connection
info, and the machine config to save the password);
we change the logic to use the machine agent's
configuration only, leaving the bootstrap config
for backward compatibility only.
https://code.launchpad.net/~rogpeppe/juju-core/442-agent-initialize-state/+merge/189384
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : agent: implement InitializeState #Patch Set 3 : agent: implement InitializeState #
Total comments: 4
Patch Set 4 : agent: implement InitializeState #
Total comments: 12
Patch Set 5 : agent: implement InitializeState #Patch Set 6 : agent: implement InitializeState #Patch Set 7 : agent: implement InitializeState #
Total comments: 3
Patch Set 8 : agent: implement InitializeState #
MessagesTotal messages: 9
|