mirror of
https://github.com/minio/minio.git
synced 2025-01-15 16:53:16 -05:00
4ddc222f46
Commit 0d521260237ca69a89044f23f10a13b44e1f53c9 caused a regression in setting a new bucket policy in a distributed setup. The reason is that gob is not able to encode fields declared as interfaces unless we provide GobEncode() and GobDecode() This PR adds them by using json marshaller and unmarshaller that are already implemented for Functions interface.