Merge lp:~rvb/gwacl/delete-404 into lp:gwacl
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | 127 |
Merged at revision: | 125 |
Proposed branch: | lp:~rvb/gwacl/delete-404 |
Merge into: | lp:gwacl |
Diff against target: |
57 lines (+19/-5) 2 files modified
storage_base.go (+7/-3) storage_base_test.go (+12/-2) |
To merge this branch: | bzr merge lp:~rvb/gwacl/delete-404 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Gavin Panella | Approve | ||
Review via email: mp+170824@code.launchpad.net |
Commit message
Deleting a non-existant blob does not return an error.
To post a comment you must log in.
Looks good, and of course HTTP DELETE is meant to be idempotent.
The comment in TestServerError is very welcome for review, but possibly a bit superfluous as a part of the code. If you do keep it, two general notes about the comment:
1. I'd avoid the preamble "note that" in comments. It can liven up longer texts, but is redundant in a code comment. In this case I'd say it calls undue attention to something of relatively little importance.
2. Language easily contorts around the passive voice. "X is done by Y" is usually worse than "Y does X."