operations: fix --immutable error message
This was accidentally changed in
53a1a0e3ef
accounting: add reference to completed transfers
This commit is contained in:
parent
963c0f28b9
commit
35da38e93f
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ func equal(ctx context.Context, src fs.ObjectInfo, dst fs.Object, opt equalOpt)
|
||||||
// Size and hash the same but mtime different
|
// Size and hash the same but mtime different
|
||||||
// Error if objects are treated as immutable
|
// Error if objects are treated as immutable
|
||||||
if ci.Immutable {
|
if ci.Immutable {
|
||||||
fs.Errorf(dst, "StartedAt mismatch between immutable objects")
|
fs.Errorf(dst, "Timestamp mismatch between immutable objects")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// Update the mtime of the dst object here
|
// Update the mtime of the dst object here
|
||||||
|
|
Loading…
Add table
Reference in a new issue