Please take a look.
https://codereview.appspot.com/66870044/diff/1/agent/agent_test.go File agent/agent_test.go (right):
https://codereview.appspot.com/66870044/diff/1/agent/agent_test.go#newcode226 agent/agent_test.go:226: rereadCommands, err := c2.WriteCommands() On 2014/02/26 02:23:41, thumper wrote: > these variable names no longer make sense.
Done.
https://codereview.appspot.com/66870044/diff/1/agent/format-1.16.go File agent/format-1.16.go (right):
https://codereview.appspot.com/66870044/diff/1/agent/format-1.16.go#newcode73 agent/format-1.16.go:73: if value != "" { On 2014/02/26 02:23:41, thumper wrote: > I find this much more complicated to follow than a version that doesn't have > named params:
> func (*formatter_1_16) upgradedToVersion(value string) (version.Number, error) { > if value != "" { > return version.Parse(value) > } > return version.MustParse("1.16.0"), nil > }
https://codereview.appspot.com/66870044/
« Back to merge proposal
Please take a look.
https:/ /codereview. appspot. com/66870044/ diff/1/ agent/agent_ test.go
File agent/agent_test.go (right):
https:/ /codereview. appspot. com/66870044/ diff/1/ agent/agent_ test.go# newcode226 test.go: 226: rereadCommands, err := c2.WriteCommands()
agent/agent_
On 2014/02/26 02:23:41, thumper wrote:
> these variable names no longer make sense.
Done.
https:/ /codereview. appspot. com/66870044/ diff/1/ agent/format- 1.16.go 1.16.go (right):
File agent/format-
https:/ /codereview. appspot. com/66870044/ diff/1/ agent/format- 1.16.go# newcode73 1.16.go: 73: if value != "" {
agent/format-
On 2014/02/26 02:23:41, thumper wrote:
> I find this much more complicated to follow than a version that
doesn't have
> named params:
> func (*formatter_1_16) upgradedToVersi on(value string) Parse(value) MustParse( "1.16.0" ), nil
(version.Number, error) {
> if value != "" {
> return version.
> }
> return version.
> }
Done.
https:/ /codereview. appspot. com/66870044/