forked from TrueCloudLab/frostfs-node
[#607] network: Remove no longer used Address.AddTLS
method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b723c92ef8
commit
e3eade619d
2 changed files with 0 additions and 38 deletions
|
@ -54,14 +54,3 @@ func (a Address) TLSEnabled() bool {
|
|||
|
||||
return false
|
||||
}
|
||||
|
||||
// AddTLS encapsulates a Address if there is no TLS yet.
|
||||
func (a *Address) AddTLS() {
|
||||
// not need to add TLS if it is
|
||||
// already included
|
||||
if a.TLSEnabled() {
|
||||
return
|
||||
}
|
||||
|
||||
a.ma = a.ma.Encapsulate(tls)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue