Skip to content

Commit

Permalink
Merge pull request #870 from adu-bricks/fix-metrics-exporter-parts
Browse files Browse the repository at this point in the history
fix non pointer mistake in metrics-exporter
  • Loading branch information
Slach authored Jan 28, 2022
2 parents 28ca223 + 4609515 commit 29792a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/metrics/clickhouse_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (f *ClickHouseFetcher) getClickHouseSystemParts() ([][]string, error) {
metricDiskDataBytes, metricMemoryPrimaryKeyBytesAllocated string
if err := rows.Scan(
&database, &table, &active, &partitions, &parts, &bytes, &uncompressed, &_rows,
&metricDiskDataBytes, metricMemoryPrimaryKeyBytesAllocated,
&metricDiskDataBytes, &metricMemoryPrimaryKeyBytesAllocated,
); err == nil {
*data = append(*data, []string{
database, table, active, partitions, parts, bytes, uncompressed, _rows,
Expand Down

0 comments on commit 29792a8

Please sign in to comment.