diff options
author | Anjan Nath <kaludios@gmail.com> | 2022-07-04 14:53:18 +0530 |
---|---|---|
committer | Anjan Nath <kaludios@gmail.com> | 2022-07-04 15:17:21 +0530 |
commit | 1de62aea0a77a79a4205950e9d590753cba09019 (patch) | |
tree | 38bf8f12c09d091da34d6c618382e777171e3025 | |
parent | feff527c00e56b2da3584360f81495e003034f1f (diff) |
Fix error reported by go test
This fixes the following error from go test
```
client/client.go:45:8: (*0xacab.org/leap/obfsvpn/client.Client).log call has arguments but no formatting directives
```
-rw-r--r-- | client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.go b/client/client.go index 4b10ab2..c203e2b 100644 --- a/client/client.go +++ b/client/client.go @@ -42,7 +42,7 @@ func NewClient(kcp bool, socksAddr, obfs4Cert string) *Client { func (c *Client) Start() (bool, error) { defer func() { - c.log("STOPPED", "", nil) + c.log("STOPPED", "") }() if c.IsStarted() { |