https://codereview.appspot.com/85850043/diff/60001/state/api/client.go#newcode738
state/api/client.go:738: // Params for WatchDebugLog controls the
filtering of the log messages. If the
On 2014/04/10 07:04:18, rog wrote:
> // DebugLogParams holds parameters for WatchDebugLog that
> // control the filtering of the log messages.
> ?
> Thanks a lot for documenting these, BTW. It makes a big difference.
Please take a look.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client. go
File state/api/client.go (right):
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client. go#newcode738 client. go:738: // Params for WatchDebugLog controls the
state/api/
filtering of the log messages. If the
On 2014/04/10 07:04:18, rog wrote:
> // DebugLogParams holds parameters for WatchDebugLog that
> // control the filtering of the log messages.
> ?
> Thanks a lot for documenting these, BTW. It makes a big difference.
Done.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client. go#newcode747 client. go:747: // are set all modules are considered
state/api/
included.
On 2014/04/10 07:04:18, rog wrote:
> s/ / /
> Does the inclusion of a logging module here imply all its sub-modules
too?
Yes, updated.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client. go#newcode755 client. go:755: // have been sent, the socket is closed.
state/api/
On 2014/04/10 07:04:18, rog wrote:
> // If zero, there is no limit.
> ?
Updated.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client. go#newcode821 client. go:821: logger. Debugf( "initial line: %s", line)
state/api/
On 2014/04/10 07:04:18, rog wrote:
> Just realised - we probably want %q here so that we don't get a blank
line in
> the log.
Done.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client_ test.go client_ test.go (right):
File state/api/
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client_ test.go# newcode140 client_ test.go: 140: return &badReader{ ioutil. NopCloser( junk), NopCloser( &badReader{ err})
state/api/
err}, nil
On 2014/04/10 07:04:18, rog wrote:
> or ioutil.
> then you can lose the ReadCloser field inside badReader.
Good call.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ client_ test.go# newcode195 client_ test.go: 195: func echoUrl(c *gc.C) .Config) (io.ReadCloser, error) {
state/api/
func(*websocket
On 2014/04/10 07:04:18, rog wrote:
> s/echoUrl/echoURL/
> (Go convention is to capitalise either all or none of an acronym)
Done.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ params/ internal. go params/ internal. go (right):
File state/api/
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/api/ params/ internal. go#newcode563 params/ internal. go:563: // apiserver.
state/api/
On 2014/04/10 07:04:18, rog wrote:
> s/apiserver/agent running the API server./
> ?
Done.
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/apiserver /client/ client. go /client/ client. go (right):
File state/apiserver
https:/ /codereview. appspot. com/85850043/ diff/60001/ state/apiserver /client/ client. go#newcode785 /client/ client. go:785: // AgentVersion returns the
state/apiserver
current version that the api server is running.
On 2014/04/10 07:04:18, rog wrote:
> s/api/API/
Done.
https:/ /codereview. appspot. com/85850043/