agent: fix go vet issue

This commit is contained in:
Frank Schroeder 2017-07-11 07:13:29 -07:00
parent 06c494d4c6
commit 3fcf1bc9e2
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)
}
return info, nil
} else {
resp.WriteHeader(http.StatusNotFound)
return nil, nil
}
resp.WriteHeader(http.StatusNotFound)
return nil, nil
}