Skip to content

Commit

Permalink
Fixed return
Browse files Browse the repository at this point in the history
  • Loading branch information
CHERTS committed Nov 26, 2024
1 parent e835399 commit 29478ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/collector/postgres_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ func getLogStat(conn *store.DB, logcollector bool) (string, int64, int64, error)
if err != nil {
return "", 0, 0, fmt.Errorf("get log directory size failed: %s", err)
}

return path, size, count, nil
}

// getLogdirStat returns filesystem info related to LOGDIR.
Expand Down

0 comments on commit 29478ef

Please sign in to comment.