Skip to content

Commit e9664b9

Browse files
thaJeztahaustinvazquez
authored andcommitted
cli/config/types: remove deprecated AuthConfig.Email field
Relates to [cli@27b2797], which forked this type from the Moby API, and [cli@aab947d], which fixed the deprecation comment. This field is no longer used since Docker 1.11 (API version 1.23) through [moby@aee260d] and [engine-api@9a9e468], and the fix of the deprecation comment was included in the 28.4.0 release. This patch removes the field. [cli@27b2797]: 27b2797 [cli@aab947d]: aab947d [moby@aee260d]: moby/moby@aee260d [engine-api@9a9e468]: docker-archive-public/docker.engine-api@9a9e468 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent a61ecaf commit e9664b9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cli/config/types/authconfig.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ type AuthConfig struct {
66
Password string `json:"password,omitempty"`
77
Auth string `json:"auth,omitempty"`
88

9-
// Email is an optional value associated with the username.
10-
//
11-
// Deprecated: This field is deprecated since docker 1.11 (API v1.23) and will be removed in the next release.
12-
Email string `json:"email,omitempty"`
13-
149
ServerAddress string `json:"serveraddress,omitempty"`
1510

1611
// IdentityToken is used to authenticate the user and get

0 commit comments

Comments
 (0)