1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Aaron Lehmann 8b0179c771 Correct login debug log message
I noticed the following message in a daemon log:

```
attempting v2 login to registry endpoint {%!s(bool=false) https://registry:5000 v2 %!s(bool=false) %!s(bool=true) %!s(*tls.Config=&{<nil> <nil> [] map[] <nil> 0xc82075c030 []  0 <nil> false [49196 49200 49195 49199 49162 49161 49172 49171 53 47] true false [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] <nil> 769 0 [] {{0 0} 0} {{0 0} 0 0 0 0} []})}
```

loginV2 tries to log an APIEndpoint as a string, but this struct does
not have a String method. Log the actual URL that will be used as the
endpoint, instead.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit e42f85080b)
2016-03-31 18:35:03 -04:00
..
auth.go Correct login debug log message 2016-03-31 18:35:03 -04:00
auth_test.go Remove email address field from login 2016-02-29 17:53:27 -08:00
config.go Merge pull request #21100 from aaronlehmann/remove-windows-specific-registry 2016-03-11 09:31:55 -08:00
config_test.go
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 Merge pull request #20970 from dmcgowan/login-oauth 2016-03-14 15:49:44 +01: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