mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
client: use designated domains in tests (RFC2606)
Update domains used in tests to used domains that are designated for this purpose as described in [RFC2606, section 3][1] [1]: https://www.rfc-editor.org/rfc/rfc2606.html#section-3 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
validServerAddress = "https://index.docker.io/v1"
|
validServerAddress = "https://registry.example.com/v1"
|
||||||
validUsername = "linus"
|
validUsername = "linus"
|
||||||
validServerAddress2 = "https://example.com:5002"
|
validServerAddress2 = "https://example.com:5002"
|
||||||
invalidServerAddress = "https://foobar.example.com"
|
invalidServerAddress = "https://foobar.example.com"
|
||||||
missingCredsAddress = "https://missing.docker.io/v1"
|
missingCredsAddress = "https://missing.example.com/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errProgramExited = fmt.Errorf("exited 1")
|
var errProgramExited = fmt.Errorf("exited 1")
|
||||||
|
|||||||
Reference in New Issue
Block a user