From f835aadaecceaf6a4a7ef3b0ab4d1c433cdf7e69 Mon Sep 17 00:00:00 2001 From: Daniel Raper Date: Wed, 22 Jul 2026 13:36:04 +0100 Subject: [PATCH] Update package references for histogram Signed-off-by: Daniel Raper --- pkg/dbsql/histogram_sql.go | 6 +++--- pkg/dbsql/histogram_sql_test.go | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pkg/dbsql/histogram_sql.go b/pkg/dbsql/histogram_sql.go index 6f22e10..59b86ed 100644 --- a/pkg/dbsql/histogram_sql.go +++ b/pkg/dbsql/histogram_sql.go @@ -22,9 +22,9 @@ import ( "strconv" sq "github.com/Masterminds/squirrel" - "github.com/hyperledger/firefly-common/pkg/config" - "github.com/hyperledger/firefly-common/pkg/fftypes" - "github.com/hyperledger/firefly-common/pkg/i18n" + "github.com/hyperledger-firefly/common/pkg/config" + "github.com/hyperledger-firefly/common/pkg/fftypes" + "github.com/hyperledger-firefly/common/pkg/i18n" ) // GetChartHistogram executes a collection of queries (one per interval) and builds diff --git a/pkg/dbsql/histogram_sql_test.go b/pkg/dbsql/histogram_sql_test.go index 319b490..b29f6f0 100644 --- a/pkg/dbsql/histogram_sql_test.go +++ b/pkg/dbsql/histogram_sql_test.go @@ -22,8 +22,8 @@ import ( "github.com/DATA-DOG/go-sqlmock" sq "github.com/Masterminds/squirrel" - "github.com/hyperledger/firefly-common/pkg/config" - "github.com/hyperledger/firefly-common/pkg/fftypes" + "github.com/hyperledger-firefly/common/pkg/config" + "github.com/hyperledger-firefly/common/pkg/fftypes" "github.com/stretchr/testify/assert" ) @@ -81,9 +81,9 @@ func TestBuildHistogramQueriesWithoutTypeOrNamespace(t *testing.T) { queries := db.buildHistogramQueries( "mytable", "created", - "", - "", - "", + "", + "", + "", i, 5, ) @@ -211,9 +211,9 @@ func TestGetChartHistogramNoTypeColumn(t *testing.T) { ctx, "hist_table", "created", - "", - "", - "", + "", + "", + "", i, ) assert.NoError(t, err) @@ -253,8 +253,8 @@ func TestGetChartHistogramWithTypeColumn(t *testing.T) { "hist_table", "created", "type", - "", - "", + "", + "", i, ) assert.NoError(t, err)