Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kobajagi committed Aug 5, 2024
1 parent b2ff514 commit 1863f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/storage_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ argument with "/":
fmt.Fprintln(os.Stderr, e)
}
}

return fmt.Errorf("unable to delete objects: %w", err)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/sos/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (l BatchErrorList) Error() string {

func (l *BatchErrorList) AddErrors(errs []types.Error) {
for _, err := range errs {
l.List = append(l.List, fmt.Errorf("%s", err.Message))
l.List = append(l.List, fmt.Errorf("%v", err.Message))
}
}

Expand Down

0 comments on commit 1863f26

Please sign in to comment.