Linting and staticcheck fixes. (#101)
* Fix linting and staticcheck issues * Add changelog update * Remove SetNext
This commit is contained in:
parent
18cd8a66a2
commit
f29a200f09
6 changed files with 13 additions and 17 deletions
|
@ -98,10 +98,6 @@ func New(opts Options) (*Server, error) {
|
|||
return nil, fmt.Errorf("failed to generate ed25519 key: %w", err)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return nil, err // parseConfig sets a fancy error for us
|
||||
}
|
||||
|
||||
result := &Server{
|
||||
next: opts.Next,
|
||||
priv: priv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue