From b5d09df0c388921fd4d32f002bd21150c258fa87 Mon Sep 17 00:00:00 2001 From: Hui Kang Date: Thu, 6 Jul 2017 02:28:34 +0000 Subject: [PATCH] dnet: remove unused method for dnetConnection struct The cluster provider interface does not need GetNetworkKeys and SetNetworkKeys Signed-off-by: Hui Kang --- libnetwork/cmd/dnet/dnet.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libnetwork/cmd/dnet/dnet.go b/libnetwork/cmd/dnet/dnet.go index 0762de3349..767d650fc6 100644 --- a/libnetwork/cmd/dnet/dnet.go +++ b/libnetwork/cmd/dnet/dnet.go @@ -329,13 +329,6 @@ func (d *dnetConnection) GetRemoteAddressList() []string { return []string{d.Orchestration.Peer} } -func (d *dnetConnection) GetNetworkKeys() []*types.EncryptionKey { - return nil -} - -func (d *dnetConnection) SetNetworkKeys([]*types.EncryptionKey) { -} - func (d *dnetConnection) ListenClusterEvents() <-chan cluster.ConfigEventType { return d.configEvent }