mirror of
https://github.com/helm/helm.git
synced 2026-02-11 23:03:42 -05:00
fix: dep fs errors
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
ab15810701
commit
15b83a9959
1 changed files with 1 additions and 1 deletions
2
internal/third_party/dep/fs/rename.go
vendored
2
internal/third_party/dep/fs/rename.go
vendored
|
|
@ -50,7 +50,7 @@ func renameFallback(err error, src, dst string) error {
|
|||
if !ok {
|
||||
return err
|
||||
} else if terr.Err != syscall.EXDEV {
|
||||
return fmt.Errorf("link error: cannot rename %s to %s: %w", src, dst, err)
|
||||
return fmt.Errorf("link error: cannot rename %s to %s: %w", src, dst, terr)
|
||||
}
|
||||
|
||||
return renameByCopy(src, dst)
|
||||
|
|
|
|||
Loading…
Reference in a new issue