Skip to content

Commit a3c1b5b

Browse files
committed
Fix imports
Signed-off-by: Emily Casey <[email protected]>
1 parent 6f4b0a7 commit a3c1b5b

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

osxkeychain/osxkeychain_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ package osxkeychain
1010
import "C"
1111
import (
1212
"errors"
13-
"github.com/docker/docker-credential-helpers/registryurl"
1413
"strconv"
1514
"unsafe"
1615

1716
"github.com/docker/docker-credential-helpers/credentials"
17+
"github.com/docker/docker-credential-helpers/registryurl"
1818
)
1919

2020
// errCredentialsNotFound is the specific error message returned by OS X

osxkeychain/osxkeychain_darwin_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package osxkeychain
22

33
import (
44
"fmt"
5-
"github.com/docker/docker-credential-helpers/credentials"
65
"testing"
6+
7+
"github.com/docker/docker-credential-helpers/credentials"
78
)
89

910
func TestOSXKeychainHelper(t *testing.T) {

registryurl/parse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ func TestHelperParseURL(t *testing.T) {
4343
t.Errorf("Error: expected URL: %q, but got %q for URL: %q", te.expectedURL, u.String(), te.url)
4444
}
4545
}
46-
}
46+
}

registryurl/url_non_go18.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package registryurl
44

55
import (
6-
"strings"
76
url "net/url"
7+
"strings"
88
)
99

1010
func GetHostname(u *url.URL) string {

wincred/wincred_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ package wincred
22

33
import (
44
"bytes"
5-
"github.com/docker/docker-credential-helpers/registryurl"
65
"net/url"
76
"strings"
87

98
winc "github.com/danieljoos/wincred"
109
"github.com/docker/docker-credential-helpers/credentials"
10+
"github.com/docker/docker-credential-helpers/registryurl"
1111
)
1212

1313
// Wincred handles secrets using the Windows credential service.

0 commit comments

Comments
 (0)