kubectx icon indicating copy to clipboard operation
kubectx copied to clipboard

refactoring: replace github.com/pkg/errors by standard errors

Open RouxAntoine opened this issue 1 year ago • 3 comments

Like ask in #380 Here is the extraction of the commit to replacement of the external github.com/pkg/errors dependency by built in errors

RouxAntoine avatar Dec 28 '24 11:12 RouxAntoine

I found that this have also be done in https://github.com/ahmetb/kubectx/pull/421

RouxAntoine avatar Dec 28 '24 15:12 RouxAntoine

Do you mind replacing all commas with ":", that's the standard form.

https://github.com/kubernetes/release/issues/2549

ahmetb avatar Dec 28 '24 16:12 ahmetb

Do you mind replacing all commas with ":", that's the standard form.

kubernetes/release#2549

done,

I can also replace cmdutil.IsNotFoundErr by errors.Is like in PR #421 (edit, also done)

RouxAntoine avatar Dec 28 '24 16:12 RouxAntoine