diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-20 15:54:57 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-21 18:28:52 +0100 |
| commit | feb5a34fcaefd30c764bd9aa9192f42c5a11b578 (patch) | |
| tree | bbf47f6cf9805d05d3eab60eef308a923b8f88c5 /client/fsm.go | |
| parent | 12838c19514459974cf0a71c42f1248b1cb9419c (diff) | |
Linting: Fix config arguments and results + comments
Diffstat (limited to 'client/fsm.go')
| -rw-r--r-- | client/fsm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/fsm.go b/client/fsm.go index 76dee05..c156fba 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -212,7 +212,7 @@ func (c *Client) SetSearchServer() error { return err } - //TODO(jwijenbergh): Should we handle `false` returned value here? + // TODO(jwijenbergh): Should we handle `false` returned value here? c.FSM.GoTransition(StateSearchServer) return nil } @@ -325,7 +325,7 @@ func (c *Client) SetDisconnected(cleanup bool) error { func (c *Client) goBackInternal() { err := c.GoBack() if err != nil { - //TODO(jwijenbergh): Bit suspicious - logging level INFO, yet stacktrace logged. + // TODO(jwijenbergh): Bit suspicious - logging level INFO, yet stacktrace logged. c.Logger.Infof("failed going back: %s\nstacktrace:\n%s", err.Error(), err.(*errors.Error).ErrorStack()) } } |
