mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Use Peer RPC to propagate bucket policy changes (#2891)
This commit is contained in:
committed by
Harshavardhana
parent
55f6828750
commit
0aabc1d8d9
@@ -69,7 +69,7 @@ type bucketPolicy struct {
|
||||
func (b bucketPolicy) String() string {
|
||||
bbytes, err := json.Marshal(&b)
|
||||
if err != nil {
|
||||
errorIf(err, "Unable to unmarshal bucket policy into JSON %#v", b)
|
||||
errorIf(err, "Unable to marshal bucket policy into JSON %#v", b)
|
||||
return ""
|
||||
}
|
||||
return string(bbytes)
|
||||
|
||||
Reference in New Issue
Block a user