Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[27.x backport] cli/command: ConfigureAuth: fix deprecation comment #5552

Merged

Conversation

thaJeztah
Copy link
Member

Deprecation comments must have an empty line before them, otherwise tools and linters may not recognise them. While fixing this, also updated the reference to PromptUserForCredentials to be a docs-link to make it clickable.

Updates 6e4818e.

Before this patch:

Screenshot 2024-10-19 at 13 08 20 Screenshot 2024-10-19 at 13 00 18

With this patch:

Screenshot 2024-10-19 at 13 03 25 Screenshot 2024-10-19 at 13 03 17

- Description for the changelog

- go-sdk: fix deprecation of `cli/command.ConfigureAuth()`, which was deprecated since v27.2.1

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

Deprecation comments must have an empty line before them, otherwise tools
and linters may not recognise them. While fixing this, also updated the
reference to PromptUserForCredentials to be a docs-link to make it clickable.

Updates 6e4818e.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 54e3685)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added impact/deprecation status/2-code-review area/authentication area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Oct 19, 2024
@thaJeztah thaJeztah added this to the 27.4.0 milestone Oct 19, 2024
@thaJeztah thaJeztah self-assigned this Oct 19, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.65%. Comparing base (16201b3) to head (a8a8f68).
Report is 5 commits behind head on 27.x.

Additional details and impacted files
@@           Coverage Diff           @@
##             27.x    #5552   +/-   ##
=======================================
  Coverage   58.65%   58.65%           
=======================================
  Files         345      345           
  Lines       29042    29042           
=======================================
  Hits        17035    17035           
  Misses      11036    11036           
  Partials      971      971           

@laurazard laurazard merged commit 220033d into docker:27.x Oct 21, 2024
108 checks passed
@thaJeztah thaJeztah deleted the 27.x_backport_fix_ConfigureAuth_deprecation branch October 21, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/authentication area/go-sdk Changes affecting the Go SDK impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants