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

Unified Diff: client/cmd/isolated/common.go

Issue 1135173003: Create packages client/internal/ retry and lhttp. (Closed) Base URL: git@github.com:luci/luci-go@3_UI
Patch Set: . Created 5 years, 7 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
Index: client/cmd/isolated/common.go
diff --git a/client/cmd/isolated/common.go b/client/cmd/isolated/common.go
index 53ce0612046573bdaf71ea7a17c9fdf31b3aa30f..f54a98b0845981d747e586282cb9c96f1eddc66a 100644
--- a/client/cmd/isolated/common.go
+++ b/client/cmd/isolated/common.go
@@ -11,7 +11,7 @@ import (
"log"
"os"
- "github.com/luci/luci-go/client/internal/common"
+ "github.com/luci/luci-go/client/internal/lhttp"
"github.com/luci/luci-go/client/internal/tracer"
"github.com/maruel/subcommands"
)
@@ -79,7 +79,7 @@ func (c *commonServerFlags) Parse() error {
if c.serverURL == "" {
return errors.New("-isolate-server must be specified")
}
- if s, err := common.URLToHTTPS(c.serverURL); err != nil {
+ if s, err := lhttp.URLToHTTPS(c.serverURL); err != nil {
return err
} else {
c.serverURL = s

Powered by Google App Engine
This is Rietveld 408576698