Browse Source

dnet: remove unused method for dnetConnection struct

The cluster provider interface does not need GetNetworkKeys
and SetNetworkKeys

Signed-off-by: Hui Kang <kangh@us.ibm.com>
Hui Kang 8 years ago
parent
commit
b5d09df0c3
1 changed files with 0 additions and 7 deletions
  1. 0 7
      libnetwork/cmd/dnet/dnet.go

+ 0 - 7
libnetwork/cmd/dnet/dnet.go

@@ -329,13 +329,6 @@ func (d *dnetConnection) GetRemoteAddressList() []string {
 	return []string{d.Orchestration.Peer}
 	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 {
 func (d *dnetConnection) ListenClusterEvents() <-chan cluster.ConfigEventType {
 	return d.configEvent
 	return d.configEvent
 }
 }