From 957762d0ef023d2c1ce85ca8710c346598d8122f Mon Sep 17 00:00:00 2001 From: Toby Padilla Date: Thu, 7 Oct 2021 14:02:54 -0500 Subject: [PATCH] Rename wish.WithMiddlewares -> wish.WithMiddleware --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index fc5ae2a24..1205fd700 100644 --- a/server.go +++ b/server.go @@ -31,7 +31,7 @@ func NewServer(host string, port int, serverKeyPath string, repoPath string, aut ssh.PasswordAuth(cfg.PasswordHandler), wish.WithAddress(fmt.Sprintf("%s:%d", host, port)), wish.WithHostKeyPath(serverKeyPath), - wish.WithMiddlewares( + wish.WithMiddleware( bm.Middleware(tui.SessionHandler(cfg)), gm.Middleware(repoPath, cfg), lm.Middleware(),