1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-03 10:00:03 +02:00

fix compilation

This commit is contained in:
chrislu 2022-07-11 01:30:00 -07:00
parent 93ccc6e05f
commit 37578929d4

View file

@ -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