mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 22:24:46 +08:00
convert error fromating to %w everywhere (#6995)
This commit is contained in:
@@ -66,7 +66,7 @@ func (c *commandRemoteMetaSync) Do(args []string, commandEnv *CommandEnv, writer
|
||||
|
||||
// pull metadata from remote
|
||||
if err = pullMetadata(commandEnv, writer, util.FullPath(localMountedDir), remoteStorageMountedLocation, util.FullPath(*dir), remoteStorageConf); err != nil {
|
||||
return fmt.Errorf("cache meta data: %v", err)
|
||||
return fmt.Errorf("cache meta data: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user