distribution/docs
Yong Tang 56480ce80a Add default serveraddress value in remote API /auth
This fix tries to address the issue in #22244 where the remote
API `/auth` will not set the default value of `serveraddress`
if not provided. This behavior happens after only in 1.11.0
and is a regression as in 1.10.3 `serveraddress` will be assigned
with `IndexServer` if no value is provided.

The default value `IndexServer` is assigned to `serveraddress` if
no value provided in this fix.

An integration test `TestAuthApi` has been added to cover this change

This fix fixes #22244.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-04-22 20:00:47 -07:00
..
auth.go Correct login debug log message 2016-03-28 18:22:24 -07:00
auth_test.go Remove email address field from login 2016-02-29 17:53:27 -08:00
config.go 1.change validateNoSchema into validateNoScheme 2016-03-31 12:29:15 +08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
config_unix.go Remove Windows-specific default registry definitions 2016-03-10 18:33:14 -08:00
config_windows.go Remove Windows-specific default registry definitions 2016-03-10 18:33:14 -08:00
endpoint_test.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00
endpoint_v1.go registry: endpoint_v1: fix outdated comment 2016-03-16 12:53:11 +01:00
reference.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Move registry service options to the daemon configuration. 2016-03-10 11:53:11 -05:00
registry_mock_test.go Move registry service options to the daemon configuration. 2016-03-10 11:53:11 -05:00
registry_test.go daemon: update: check len inside public function 2016-03-15 17:24:25 +01:00
service.go Add default serveraddress value in remote API /auth 2016-04-22 20:00:47 -07:00
service_v1.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00
service_v2.go Merge pull request #20970 from dmcgowan/login-oauth 2016-03-14 15:49:44 +01:00
session.go *: fix response body leaks 2016-03-16 17:15:42 +01:00
types.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00