Skip to content

Commit

Permalink
Merge pull request #2030 from Bee-lee/dbily-dvo-fix
Browse files Browse the repository at this point in the history
add debug log to DVO endpoint
  • Loading branch information
Bee-lee authored Jun 27, 2024
2 parents ea0e291 + 22477ac commit f748fc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/dvo_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ func (server *HTTPServer) getWorkloads(writer http.ResponseWriter, request *http
return
}

log.Debug().Uint32(orgIDStr, uint32(orgID)).Msgf(
"getWorkloads took %s", time.Since(tStart),
)
err = responses.SendOK(writer, responses.BuildOkResponseWithData("workloads", workloads))
if err != nil {
log.Error().Err(err).Msg(responseDataError)
}
log.Info().Uint32(orgIDStr, uint32(orgID)).Msgf(
"getWorkloads took %s overall", time.Since(tStart),
)
}

// getWorkloadsForNamespace retrieves data about a single namespace within a cluster
Expand Down

0 comments on commit f748fc0

Please sign in to comment.