Skip to content

cli/command: ConfigureAuth: fix deprecation comment - #5551

Merged
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:fix_ConfigureAuth_deprecation
Oct 21, 2024
Merged

cli/command: ConfigureAuth: fix deprecation comment#5551
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah: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>
@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 59.57%. Comparing base (8a7c5ae) to head (54e3685).
Report is 6 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #5551 +/- ##
=======================================
Coverage 59.57% 59.57% =======================================
Files 345 345 Lines 29088 29088 =======================================
Hits 17330 17330 Misses 10788 10788 Partials 970 970 

@thaJeztahthaJeztah added area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Oct 19, 2024
@thaJeztah
thaJeztah merged commit 24ee5f2 into docker:masterOct 21, 2024
@thaJeztah
thaJeztah deleted the fix_ConfigureAuth_deprecation branch October 21, 2024 12:28
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 SDKkind/bugfixPR's that fix bugsprocess/cherry-pickedstatus/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@thaJeztah@codecov-commenter@laurazard