diff options
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -196,12 +196,12 @@ func newSendPackSession(url string, auth transport.AuthMethod) (transport.Receiv func newClient(url string) (transport.Transport, transport.Endpoint, error) { ep, err := transport.NewEndpoint(url) if err != nil { - return nil, transport.Endpoint{}, err + return nil, nil, err } c, err := client.NewClient(ep) if err != nil { - return nil, transport.Endpoint{}, err + return nil, nil, err } return c, ep, err |