Skip to content

Commit

Permalink
fix: update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
hengfeiyang committed Jul 16, 2022
1 parent c218485 commit 924472e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (t *telemetry) GetIndexSize(indexName string) uint64 {
func (t *telemetry) HeartBeat() {
m, err := mem.VirtualMemory()
if err != nil {
log.Err(err).Msg("core.Telemetry.HeartBeat: error getting memory info")
log.Error().Err(err).Msg("core.Telemetry.HeartBeat: error getting memory info")
return
}
data := make(map[string]interface{})
Expand Down

0 comments on commit 924472e

Please sign in to comment.