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

Unified Diff: logdog/client/cmd/logdog_annotee/main.go

Issue 2714443002: Annotee: Automatically infer host from bootstrap. (Closed)
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/cmd/logdog_annotee/main.go
diff --git a/logdog/client/cmd/logdog_annotee/main.go b/logdog/client/cmd/logdog_annotee/main.go
index 30baf299aebf83f5922f0c73b162224e4ec4c299..eca077f93693960365298b3da5d7418172be571d 100644
--- a/logdog/client/cmd/logdog_annotee/main.go
+++ b/logdog/client/cmd/logdog_annotee/main.go
@@ -190,6 +190,10 @@ func mainImpl(args []string) int {
return configErrorReturnCode
}
+ if a.logdogHost == "" && a.bootstrap != nil {
+ a.logdogHost = a.bootstrap.CoordinatorHost
+ }
+
args = fs.Args()
if a.jsonArgsPath != "" {
if len(args) > 0 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698