From fb7162e76afacd496bbb7dce93e344d49051127b Mon Sep 17 00:00:00 2001 From: Burak Karakan Date: Fri, 17 May 2024 11:45:13 +0300 Subject: [PATCH] upgrade ingestr to v0.4.1 --- pkg/bigquery/checks_test.go | 2 +- pkg/ingestr/operator.go | 2 +- pkg/mssql/checks_test.go | 2 +- pkg/pipeline/pipeline.go | 2 +- pkg/postgres/checks_test.go | 2 +- pkg/snowflake/checks_test.go | 2 +- pkg/synapse/checks_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/bigquery/checks_test.go b/pkg/bigquery/checks_test.go index 3adb490..14fc8a9 100644 --- a/pkg/bigquery/checks_test.go +++ b/pkg/bigquery/checks_test.go @@ -340,7 +340,7 @@ func TestCustomCheck(t *testing.T) { func TestPatternCheck_Check(t *testing.T) { t.Parallel() - var pattern = "(a|b)" + pattern := "(a|b)" runTestsFoCountZeroCheck( t, diff --git a/pkg/ingestr/operator.go b/pkg/ingestr/operator.go index 2dc7604..3e1627a 100644 --- a/pkg/ingestr/operator.go +++ b/pkg/ingestr/operator.go @@ -17,7 +17,7 @@ import ( ) const ( - IngestrVersion = "v0.4.0" + IngestrVersion = "v0.4.1" DockerImage = "ghcr.io/bruin-data/ingestr:" + IngestrVersion ) diff --git a/pkg/mssql/checks_test.go b/pkg/mssql/checks_test.go index 600fd91..ec1154e 100644 --- a/pkg/mssql/checks_test.go +++ b/pkg/mssql/checks_test.go @@ -279,7 +279,7 @@ func TestCustomCheck(t *testing.T) { func TestPatternCheck_Check(t *testing.T) { t.Parallel() - var pattern = "(a|b)" + pattern := "(a|b)" runTestsForCountZeroCheck( t, diff --git a/pkg/pipeline/pipeline.go b/pkg/pipeline/pipeline.go index 5c7ffb0..eded5bc 100644 --- a/pkg/pipeline/pipeline.go +++ b/pkg/pipeline/pipeline.go @@ -227,7 +227,7 @@ func (ccv *ColumnCheckValue) ToString() string { return *ccv.String } if ccv.Bool != nil { - return fmt.Sprintf("%t", *ccv.Bool) + return strconv.FormatBool(*ccv.Bool) } return "" diff --git a/pkg/postgres/checks_test.go b/pkg/postgres/checks_test.go index 74a9cb3..4efe8f5 100644 --- a/pkg/postgres/checks_test.go +++ b/pkg/postgres/checks_test.go @@ -279,7 +279,7 @@ func TestCustomCheck(t *testing.T) { func TestPatternCheck_Check(t *testing.T) { t.Parallel() - var pattern = "(a|b)" + pattern := "(a|b)" runTestsForCountZeroCheck( t, diff --git a/pkg/snowflake/checks_test.go b/pkg/snowflake/checks_test.go index 575b217..f174fad 100644 --- a/pkg/snowflake/checks_test.go +++ b/pkg/snowflake/checks_test.go @@ -279,7 +279,7 @@ func TestCustomCheck(t *testing.T) { func TestPatternCheck_Check(t *testing.T) { t.Parallel() - var pattern = "(a|b)" + pattern := "(a|b)" runTestsForCountZeroCheck( t, diff --git a/pkg/synapse/checks_test.go b/pkg/synapse/checks_test.go index 173b6b8..7923203 100644 --- a/pkg/synapse/checks_test.go +++ b/pkg/synapse/checks_test.go @@ -280,7 +280,7 @@ func TestCustomCheck(t *testing.T) { func TestPatternCheck_Check(t *testing.T) { t.Parallel() - var pattern = "(a|b)" + pattern := "(a|b)" runTestsForCountZeroCheck( t,