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

Unified Diff: logdog/common/types/streamaddr.go

Issue 2717623002: Milo: Handle missing / transient LogDog failures. (Closed)
Patch Set: remote unnecessary code Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-pending-logdog.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/common/types/streamaddr.go
diff --git a/logdog/common/types/streamaddr.go b/logdog/common/types/streamaddr.go
index a3e703e5bae4a2b87d115d29933954bfe7e99733..53d1018e4ee2f6f1f6fc59512a1aebdb32b70039 100644
--- a/logdog/common/types/streamaddr.go
+++ b/logdog/common/types/streamaddr.go
@@ -26,6 +26,9 @@ type StreamAddr struct {
Path StreamPath
}
+// String returns a string representation of this address.
+func (s *StreamAddr) String() string { return s.URL().String() }
+
// URL returns a LogDog URL that represents this Stream.
func (s *StreamAddr) URL() *url.URL {
return &url.URL{
« no previous file with comments | « no previous file | milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-pending-logdog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698