mirror of
https://github.com/zrepl/zrepl.git
synced 2025-04-24 19:39:42 +02:00
fix some typos
This commit is contained in:
parent
0882290595
commit
02b3b4f80c
@ -262,7 +262,6 @@ func (p *Planner) doPlanning(ctx context.Context) ([]*Filesystem, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
sfss := slfssres.GetFilesystems()
|
sfss := slfssres.GetFilesystems()
|
||||||
// no progress here since we could run in a live-lock on connectivity issues
|
|
||||||
|
|
||||||
rlfssres, err := p.receiver.ListFilesystems(ctx, &pdu.ListFilesystemReq{})
|
rlfssres, err := p.receiver.ListFilesystems(ctx, &pdu.ListFilesystemReq{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -49,7 +49,7 @@ type Wire interface {
|
|||||||
// No data that could otherwise be Read is lost as a consequence of this call.
|
// No data that could otherwise be Read is lost as a consequence of this call.
|
||||||
// The use case for this API is abortive connection shutdown.
|
// The use case for this API is abortive connection shutdown.
|
||||||
// To provide any value over draining Wire using io.Read, an implementation
|
// To provide any value over draining Wire using io.Read, an implementation
|
||||||
// will likely use out-of-bounds messaging mechanisms.
|
// will likely use out-of-band messaging mechanisms.
|
||||||
// TODO WaitForPeerClose() (supported bool, err error)
|
// TODO WaitForPeerClose() (supported bool, err error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ func TLSListenerFactoryFromConfig(c *config.Global, in *config.TLSServe) (transp
|
|||||||
|
|
||||||
serverCert, err := tls.LoadX509KeyPair(in.Cert, in.Key)
|
serverCert, err := tls.LoadX509KeyPair(in.Cert, in.Key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "cannot parse cer/key pair")
|
return nil, errors.Wrap(err, "cannot parse cert/key pair")
|
||||||
}
|
}
|
||||||
|
|
||||||
clientCNs := make(map[string]struct{}, len(in.ClientCNs))
|
clientCNs := make(map[string]struct{}, len(in.ClientCNs))
|
||||||
|
Loading…
Reference in New Issue
Block a user