Skip to content

Commit

Permalink
Improve error logging for info endpoint response collection
Browse files Browse the repository at this point in the history
  • Loading branch information
raikbitters committed Jul 2, 2024
1 parent 1391df3 commit a5856a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (a *Aggregator) AggregateInfo() map[string]interface{} {
return nil, fmt.Errorf("unable to aggregate info: %w", e)
}
if nil == rs {
log.Error("Unable to collect info endpoint response")
log.Errorf("Unable to collect info endpoint response from service %s:%s, endpoint %s", ni.srv, ni.portName, ni.infoEndpoint)

return nil, errEmptyResponse
}
Expand Down

0 comments on commit a5856a5

Please sign in to comment.