Skip to content

Commit

Permalink
[#1375] Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
fivitti committed Jun 25, 2024
1 parent a3c6350 commit 0efc7fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/server/database/model/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func GetCalculatedMetrics(db *pg.DB) (*CalculatedMetrics, error) {
Table("shared_network").
ColumnExpr("\"name\" AS \"label\"").
ColumnExpr("\"inet_family\" AS \"family\"").
Column("addr_utilization", "pd_utilization", "stats").
Column("addr_utilization", "pd_utilization").
ColumnExpr("\"stats\" AS \"shared_network_stats\"").
Select(&metrics.SharedNetworkMetrics)
if err != nil {
return nil, errors.Wrap(err, "cannot calculate shared network metrics")
Expand Down

0 comments on commit 0efc7fc

Please sign in to comment.