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>
This commit is contained in:
Hui Kang 2017-07-06 02:28:34 +00:00
parent f969f26966
commit b5d09df0c3

View file

@ -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
}