Prevent weird messages from rpc lib on start (Fixes #3209): (#3212)

This is done by not making the methods of the BucketMetaState interface
as methods (via type nesting) on the type implementing
RPCs (s3PeerAPIHandlers).
This commit is contained in:
Aditya Manthramurthy
2016-11-09 02:47:44 -05:00
committed by Harshavardhana
parent 9c2cfb5cb6
commit d44e9d6da9
2 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ const (
)
type s3PeerAPIHandlers struct {
*localBMS
bms BucketMetaState
}
func registerS3PeerRPCRouter(mux *router.Router) error {