Skip to content

Commit 1681333

Browse files
authored
Merge pull request #1 from mvrilo/master
Fix argument name
2 parents c3f37d4 + 42d6dfc commit 1681333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (srv *Server) ListenAndServe() error {
164164
func (srv *Server) AddHostKey(key Signer) {
165165
// these are later added via AddHostKey on ServerConfig, which performs the
166166
// check for one of every algorithm.
167-
srv.HostSigners = append(srv.HostSigners, signer)
167+
srv.HostSigners = append(srv.HostSigners, key)
168168
}
169169

170170
// SetOption runs a functional option against the server.

0 commit comments

Comments
 (0)