Skip to content

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

Merged
laurazard merged 1 commit into
docker:27.xfrom
thaJeztah:27.x_backport_fix_ConfigureAuth_deprecation
Oct 21, 2024
Merged

[27.x backport] cli/command: ConfigureAuth: fix deprecation comment#5552
laurazard merged 1 commit into
docker:27.xfrom
thaJeztah:27.x_backport_fix_ConfigureAuth_deprecation

Conversation

@thaJeztah

Copy link
Copy Markdown
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 20Screenshot 2024-10-19 at 13 00 18

With this patch:

Screenshot 2024-10-19 at 13 03 25Screenshot 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 <github@gone.nl>
(cherry picked from commit 54e3685)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztahthaJeztah 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
@thaJeztahthaJeztah added this to the 27.4.0 milestone Oct 19, 2024
@thaJeztahthaJeztah self-assigned this Oct 19, 2024
@codecov-commenter

codecov-commenter commented Oct 19, 2024

Copy link
Copy Markdown

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.xOct 21, 2024
@thaJeztah
thaJeztah deleted the 27.x_backport_fix_ConfigureAuth_deprecation branch October 21, 2024 16:08
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/authenticationarea/go-sdkChanges affecting the Go SDKimpact/deprecationimpact/go-sdkNoteworthy (compatibility changes) in the Go SDKstatus/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@thaJeztah@codecov-commenter@laurazard