Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: logdog/client/butler/bundler/stream.go

Issue 2601583002: Butler: fix global tags applied to empty map. (Closed)
Patch Set: Added tests, testing method to Bundler. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « logdog/client/butler/bundler/bundler.go ('k') | logdog/client/butler/butler.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « logdog/client/butler/bundler/bundler.go ('k') | logdog/client/butler/butler.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698