commit | 58c6381104b47e1e4e227522fa0c831358615107 | [log] [tgz] |
---|---|---|
author | Michael Anthony Knyszek <mknyszek@google.com> | Tue Nov 29 16:31:36 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 29 16:31:36 2022 |
tree | 22ffb74f2c89a93fdf416b016d4c18a8d8730b6d | |
parent | dca994cae665af27269f66f46e5c60b7b4628752 [diff] |
[luciexe] Clear up documentation around State.Log stream closure Change-Id: I5ab6e9f00ed5e2165588753fd5b15579ce78162f Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/4060195 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Michael Knyszek <mknyszek@google.com>
diff --git a/luciexe/build/state.go b/luciexe/build/state.go index c6e54cc..a7d3300 100644 --- a/luciexe/build/state.go +++ b/luciexe/build/state.go
@@ -159,7 +159,7 @@ // Log creates a new build-level line-oriented text log stream with the given name. // -// You must close the stream when you're done with it. +// The stream will close when the state is End'd. func (s *State) Log(name string, opts ...streamclient.Option) io.Writer { var ret io.WriteCloser