Commit 2ad8eb7
committed
VPA: wrap clusterStateFeeder error idiomatically
The package `github.com/pkg/errors` has been archived, and it doesn't
look like there is any requirement for its unique features.
Instead, wrap the error using extended error feature added in Go 1.13.
Background info at https://stackoverflow.com/a/61955455/448734
Signed-off-by: Bryan Boreham <[email protected]>1 parent 2837c59 commit 2ad8eb7
File tree
1 file changed
+1
-2
lines changed- vertical-pod-autoscaler/pkg/recommender/input
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
352 | | - | |
| 351 | + | |
353 | 352 | | |
354 | 353 | | |
355 | 354 | | |
| |||
0 commit comments