client/tailscale: remove redundant error check

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2023-11-03 14:16:08 -04:00 committed by Brad Fitzpatrick
parent e537d304ef
commit 1a1e0f460a

View File

@ -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)
}