client/tailscale: remove redundant error check
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
e537d304ef
commit
1a1e0f460a
|
@ -1254,9 +1254,6 @@ func (lc *LocalClient) ReloadConfig(ctx context.Context) (ok bool, err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
if res.Err != "" {
|
||||
return false, errors.New(res.Err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue