| OLD | NEW |
| 1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package bundler | 5 package bundler |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 "sync" | 9 "sync" |
| 10 "sync/atomic" | 10 "sync/atomic" |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 358 |
| 359 return s.appendErr | 359 return s.appendErr |
| 360 } | 360 } |
| 361 | 361 |
| 362 func (s *streamImpl) setAppendErrorLocked(err error) { | 362 func (s *streamImpl) setAppendErrorLocked(err error) { |
| 363 s.appendErr = err | 363 s.appendErr = err |
| 364 | 364 |
| 365 s.closeLocked() | 365 s.closeLocked() |
| 366 s.signalDataConsumed() | 366 s.signalDataConsumed() |
| 367 } | 367 } |
| 368 |
| 369 func (s *streamImpl) streamDesc() *logpb.LogStreamDescriptor { |
| 370 return s.c.template.Desc |
| 371 } |
| OLD | NEW |