mirror of
https://github.com/distribution/distribution.git
synced 2025-07-19 17:50:18 +00:00
Update tests to reflect new AuthConfig
This commit is contained in:
parent
0933aa4424
commit
5e6d1a0d56
@ -432,7 +432,7 @@ func (r *Registry) ResetClient(authConfig *auth.AuthConfig) {
|
|||||||
func (r *Registry) GetAuthConfig() *auth.AuthConfig {
|
func (r *Registry) GetAuthConfig() *auth.AuthConfig {
|
||||||
return &auth.AuthConfig{
|
return &auth.AuthConfig{
|
||||||
Username: r.authConfig.Username,
|
Username: r.authConfig.Username,
|
||||||
Email: r.authConfig.Password,
|
Email: r.authConfig.Email,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user