Skip to content

Commit f4d3121

Browse files
wxiaoguangdelvh
andauthored
Update services/repository/files/update.go
Co-authored-by: delvh <[email protected]>
1 parent cbb6ad0 commit f4d3121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/repository/files/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func CreateUpdateRenameFile(ctx context.Context, t *TemporaryUploadRepository, f
495495
case "rename":
496496
writeObjectRet, err = writeRepoObjectForRename(ctx, t, file)
497497
default:
498-
return util.NewInvalidArgumentErrorf("unknown operation: %s", file.Operation)
498+
return util.NewInvalidArgumentErrorf("unknown file modification operation: '%s'", file.Operation)
499499
}
500500
if err != nil {
501501
return err

0 commit comments

Comments
 (0)