audit log config

This commit is contained in:
Konstantin Lebedev
2021-12-07 18:20:52 +05:00
parent 4ec8715f20
commit 10678cde81
12 changed files with 145 additions and 65 deletions

View File

@@ -142,7 +142,7 @@ func (s3a *S3ApiServer) PostPolicyBucketHandler(w http.ResponseWriter, r *http.R
Location: w.Header().Get("Location"),
}
s3err.WriteXMLResponse(w, r, http.StatusCreated, resp)
s3err.PostLog(r, s3err.ErrNone)
s3err.PostLog(r, http.StatusCreated, s3err.ErrNone)
case "200":
s3err.WriteEmptyResponse(w, r, http.StatusOK)
default: