mirror of
https://github.com/helm/helm.git
synced 2026-04-22 14:47:41 -04:00
Update cmd/helm/profiling.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com> Signed-off-by: Evans Mungai <mbuevans@gmail.com>
This commit is contained in:
parent
165654426d
commit
fdf4484971
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ func stopProfiling() error {
|
|||
}
|
||||
}
|
||||
|
||||
if len(errs) > 0 {
|
||||
return fmt.Errorf("errors while stopping profiling: [%s]", strings.Join(errs, ", "))
|
||||
if err := errors.Join(errs...); err != nil {
|
||||
return fmt.Errorf("error(s) while stopping profiling: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue