From 187688cacbbbf7cfa3c9573a5a92af63d2c71fb5 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 1 Nov 2016 00:42:44 +0100 Subject: [PATCH] fix type def --- transport/internet/authenticators/noop/noop.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport/internet/authenticators/noop/noop.go b/transport/internet/authenticators/noop/noop.go index 4eb473934..bd3029c4a 100644 --- a/transport/internet/authenticators/noop/noop.go +++ b/transport/internet/authenticators/noop/noop.go @@ -25,8 +25,8 @@ func (this NoOpAuthenticatorFactory) Create(config interface{}) internet.Authent type NoOpConnectionAuthenticator struct{} -func (NoOpConnectionAuthenticator) Open(reader io.Reader) (bool, io.Reader) { - return true, reader +func (NoOpConnectionAuthenticator) Open(reader io.Reader) (io.Reader, error) { + return reader, nil } func (NoOpConnectionAuthenticator) Seal(writer io.Writer) io.Writer {