Skip to content

Commit

Permalink
Ensure we set the conn on key in Keys() (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Freeaqingme authored and prep committed Dec 23, 2018
1 parent 62a8dfe commit 309841d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/conn.go
Expand Up @@ -217,7 +217,7 @@ func (conn *Conn) Keys() ([]Key, error) {
}

for i, key := range keyList {
key.conn = conn
keyList[i].conn = conn
if keyList[i].publicKey, err = conn.readKey(key.Keygrip); err != nil {
return nil, err
}
Expand Down

0 comments on commit 309841d

Please sign in to comment.