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

Unified Diff: client/cmd/swarming/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/swarming/common.go
diff --git a/client/cmd/swarming/common.go b/client/cmd/swarming/common.go
index 9c74db1f5fddb3d88da28bdd1ecd38843e7f93dd..54b96f310f56a173a5e0cfa87adf1501ca75ae5e 100644
--- a/client/cmd/swarming/common.go
+++ b/client/cmd/swarming/common.go
@@ -8,7 +8,7 @@ import (
"errors"
"os"
- "github.com/luci/luci-go/client/internal/common"
+ "github.com/luci/luci-go/client/internal/lhttp"
"github.com/maruel/subcommands"
)
@@ -29,7 +29,7 @@ func (c *commonFlags) Parse(a subcommands.Application) error {
if c.serverURL == "" {
return errors.New("must provide -server")
}
- s, err := common.URLToHTTPS(c.serverURL)
+ s, err := lhttp.URLToHTTPS(c.serverURL)
if err != nil {
return err
}

Powered by Google App Engine
This is Rietveld 408576698