Skip to content

refactor(deps): replace unmaintained pkg/errors with fmt.Errorf#747

Merged
agilgur5 merged 1 commit intoargoproj:masterfrom
blkperl:remove_pkg_errors
Oct 20, 2024
Merged

refactor(deps): replace unmaintained pkg/errors with fmt.Errorf#747
agilgur5 merged 1 commit intoargoproj:masterfrom
blkperl:remove_pkg_errors

Conversation

@blkperl
Copy link
Copy Markdown
Member

@blkperl blkperl commented Oct 20, 2024

Signed-off-by: william.vanhevelingen <william.vanhevelingen@acquia.com>
@blkperl blkperl requested a review from agilgur5 October 20, 2024 02:04
@blkperl blkperl added dependencies PRs and issues specific to updating dependencies go Pull requests that update Go code labels Oct 20, 2024
@sonarqubecloud

This comment was marked as resolved.

Copy link
Copy Markdown

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this! I have one question and one follow-up comment
EDIT: answered the question myself

Comment thread cli/cli.go
// SetLogLevel parses and sets a logrus log level
func SetLogLevel(logLevel string) {
level, err := log.ParseLevel(logLevel)
errors.CheckError(err)
Copy link
Copy Markdown

@agilgur5 agilgur5 Oct 20, 2024

Choose a reason for hiding this comment

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

Do you want to delete the CheckError function and the internal errors package entirely?
I suppose that would be a breaking change worth separating out into its own PR anyway though

Comment thread s3/s3.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies PRs and issues specific to updating dependencies go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants