mirror of
https://github.com/genuinetools/reg.git
synced 2024-05-13 01:38:32 -04:00
updates and fixes
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
db513b737e
commit
3b848ce686
2
main.go
2
main.go
|
@ -24,7 +24,7 @@ var (
|
|||
|
||||
timeout time.Duration
|
||||
|
||||
authURL string
|
||||
authURL string
|
||||
username string
|
||||
password string
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ func TestBothTokenAndAccessTokenWork(t *testing.T) {
|
|||
ServerAddress: ts.URL,
|
||||
}
|
||||
authConfig.Email = "me@email.com"
|
||||
r, err := New(authConfig, Opt{Insecure: true, Debug: true})
|
||||
r, err := New(ts.URL, authConfig, Opt{Insecure: true, Debug: true})
|
||||
if err != nil {
|
||||
t.Fatalf("expected no error creating client, got %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue