fix format specifier

This commit is contained in:
vyzo 2021-07-28 16:20:25 +03:00 committed by Jennifer Wang
parent b46b26f1ae
commit 73c161a295

View File

@ -377,7 +377,7 @@ func (b *Blockstore) symlink(path, linkTo string) error {
resolvedLinkDir, err := filepath.EvalSymlinks(filepath.Dir(linkTo))
if err != nil {
return fmt.Errorf("error resolving links in %s: %W", linkTo, err)
return fmt.Errorf("error resolving links in %s: %w", linkTo, err)
}
if resolvedPathDir == resolvedLinkDir {