Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Revert "[CLOUDTRUST-…
Browse files Browse the repository at this point in the history
…1502] Self service API"
  • Loading branch information
bsoniam committed Sep 11, 2019
1 parent 83bb552 commit 0e534f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/management/http.go
Expand Up @@ -71,10 +71,6 @@ func managementErrorHandler(logger log.Logger) func(context.Context, error, http
case kc_client.HTTPError:
w.WriteHeader(e.HTTPStatus)
w.Write([]byte(internal.ComponentName + "." + internal.MsgErrUnknown))
case ConvertLocationError:
// 201-Created, even if ConvertLocationError occurs, the creation was a success
w.WriteHeader(http.StatusCreated)
w.Write([]byte(internal.ComponentName + "." + internal.MsgErrUnknown))
default:
defaultHandler(ctx, err, w)

Expand Down

0 comments on commit 0e534f5

Please sign in to comment.