client/tailscale: remove redundant error check

Signed-off-by: Matt Layher <mdlayher@gmail.com>
pull/10130/head
Matt Layher 7 months ago committed by Brad Fitzpatrick
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…
Cancel
Save