diff --git a/ais/prxetl.go b/ais/prxetl.go index da15d797642..69d0144cddf 100644 --- a/ais/prxetl.go +++ b/ais/prxetl.go @@ -119,7 +119,7 @@ func (p *proxy) httpetlput(w http.ResponseWriter, r *http.Request) { // must be new etlMD := p.owner.etl.get() if etlMD.get(initMsg.Name()) != nil { - p.writeErrf(w, r, "%s: etl[%s] already exists", p, initMsg.Name()) + p.writeErrStatusf(w, r, http.StatusConflict, "%s: etl job %s already exists", p, initMsg.Name()) return }