Skip to content

Conversation

@thaJeztah
Copy link
Member

The "Service.Auth" pretended to return a message from the registry, but the message returned is hard-coded in the registry package.

Remove its use to make this more transparent, and not to pretend this is anything returned by the registry.

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 59.09%. Comparing base (b8034c0) to head (1a14abb).
Report is 12 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5958   +/-   ##
=======================================
  Coverage   59.09%   59.09%           
=======================================
  Files         354      354           
  Lines       29733    29733           
=======================================
  Hits        17572    17572           
  Misses      11191    11191           
  Partials      970      970           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thaJeztah thaJeztah marked this pull request as draft March 24, 2025 17:42
The "Service.Auth" pretended to return a message from the registry,
but the message returned is hard-coded in the registry package.

Remove its use to make this more transparent, and not to pretend
this is anything returned by the registry.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

return &registrytypes.AuthenticateOKBody{
Status: status,
Status: "Login Succeeded",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could consider printing a different message if authentication happened client-side (not through the docker engine API); leaving that for something to consider after this.

@thaJeztah thaJeztah marked this pull request as ready for review March 25, 2025 15:09
@thaJeztah thaJeztah added this to the 28.0.5 milestone Mar 31, 2025
@thaJeztah thaJeztah merged commit 0c4912b into docker:master Mar 31, 2025
87 checks passed
@thaJeztah thaJeztah deleted the login_message branch March 31, 2025 12:46
@thaJeztah thaJeztah modified the milestones: 28.0.5, 28.1.0 Apr 10, 2025
@thaJeztah thaJeztah self-assigned this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants