agent: fix go vet issue

pull/3266/head
Frank Schroeder 2017-07-11 07:13:29 -07:00
parent 6f361f5ea0
commit 764dabfcf7
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 3 deletions

View File

@ -96,11 +96,9 @@ RPC:
info.Checks = make([]*structs.HealthCheck, 0) info.Checks = make([]*structs.HealthCheck, 0)
} }
return info, nil return info, nil
} else {
resp.WriteHeader(http.StatusNotFound)
return nil, nil
} }
resp.WriteHeader(http.StatusNotFound)
return nil, nil return nil, nil
} }