address pr feedback

This commit is contained in:
Drew Bailey
2019-12-16 13:42:18 -05:00
parent cd7652fed8
commit 1776458956
9 changed files with 35 additions and 34 deletions

View File

@@ -379,10 +379,6 @@ func (a *Agent) Trace(serverID, nodeID string, seconds int, q *QueryOptions) ([]
// The call blocks until the profile finishes, and returns the raw bytes of the
// profile.
func (a *Agent) Profile(serverID, nodeID, profile string, debug int, q *QueryOptions) ([]byte, error) {
if q == nil {
q = &QueryOptions{}
}
if q == nil {
q = &QueryOptions{}
}