DescriptionTidy up jujud agents
* --session-file is made obsolete by the state/presence package, and has
been removed.
* apart from that deliberate change, functionality should be unaffected.
* agentConf became public and lost its Command methods: it now supplies
addFlags and checkArgs methods, which are used by individual agents in
their own Init methods. This follows the pattern established by cmd.Log
and eliminates the slightly awkward inversion of flagset handling in the
cmd/jujud package, at the cost of having to implement an explicit Init
method on ProvisioningAgent.
* contents of flag.go moved into agent.go; neither was big enough to justify
independent existence.
https://code.launchpad.net/~fwereade/juju/go-agent-cleanup/+merge/103830
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : Tidy up jujud agents #
Total comments: 21
Patch Set 3 : Tidy up jujud agents #Patch Set 4 : Tidy up jujud agents #
MessagesTotal messages: 9
|