| 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 swarming | 5 package swarming |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 "path" | 9 "path" |
| 10 "sort" | 10 "sort" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 if stream.Closed { | 61 if stream.Closed { |
| 62 cached.SetValue([]byte(stream.Text)) | 62 cached.SetValue([]byte(stream.Text)) |
| 63 if err := mc.Set(c, cached); err != nil { | 63 if err := mc.Set(c, cached); err != nil { |
| 64 logging.Errorf(c, "Failed to write log with key %s to me
mcache: %s", cached.Key(), err) | 64 logging.Errorf(c, "Failed to write log with key %s to me
mcache: %s", cached.Key(), err) |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 | 67 |
| 68 return stream.Text, stream.Closed, nil | 68 return stream.Text, stream.Closed, nil |
| 69 } | 69 } |
| OLD | NEW |