Fix error

Former-commit-id: d9458ca4476349fa5e0b707a915b73831169d7df [formerly 9cdbfe890802e77e30703b01c646e80d8f58d827] [formerly 1dc6cc6cc950b405cc7963ebe2ca02663e607863 [formerly a48617de6a]]
Former-commit-id: 82886fd8153776755f9fd0849a5dab8ff99aeea9 [formerly d5b79e6b3c049a107542d18834e7514bafa71356]
Former-commit-id: 7dea549348decdf929b56d9b597c39b1d35d6d67
pull/726/head
Henrique Dias 2017-07-04 18:10:41 +01:00
parent 4401a128ce
commit 8a71ad00fd
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func errorToHTTP(err error, gone bool) int {
return http.StatusGone
case os.IsExist(err):
return http.StatusGone
return http.StatusConflict
default:
return http.StatusInternalServerError
}