Browse Source

fix compilation

pull/3299/head 3.15
chrislu 3 years ago
parent
commit
37578929d4
  1. 2
      weed/iamapi/iamapi_management_handlers.go

2
weed/iamapi/iamapi_management_handlers.go

@ -495,9 +495,7 @@ func (iama *IamApiServer) DoActions(w http.ResponseWriter, r *http.Request) {
return
}
if changed {
s3cfgLock.Lock()
err := iama.s3ApiConfig.PutS3ApiConfiguration(s3cfg)
s3cfgLock.Unlock()
if err != nil {
writeIamErrorResponse(w, r, fmt.Errorf(iam.ErrCodeServiceFailureException), "", "", err)
return

Loading…
Cancel
Save