Skip to content

Commit 0c00e6d

Browse files
committed
fix
1 parent b523d15 commit 0c00e6d

File tree

9 files changed

+10
-0
lines changed

9 files changed

+10
-0
lines changed

components/usage/pkg/apiv1/billing.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"math"
1313
"time"
1414

15+
"github.com/gitpod-io/gitpod/common-go/db"
1516
"github.com/gitpod-io/gitpod/common-go/log"
1617
v1 "github.com/gitpod-io/gitpod/usage-api/v1"
1718
"github.com/gitpod-io/gitpod/usage/pkg/stripe"

components/usage/pkg/apiv1/billing_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"context"
99
"testing"
1010

11+
"github.com/gitpod-io/gitpod/common-go/db"
1112
"github.com/gitpod-io/gitpod/common-go/db/dbtest"
1213
"github.com/google/uuid"
1314
"github.com/stretchr/testify/require"

components/usage/pkg/apiv1/pricer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ package apiv1
77
import (
88
"fmt"
99
"time"
10+
11+
"github.com/gitpod-io/gitpod/common-go/db"
1012
)
1113

1214
const (

components/usage/pkg/apiv1/pricer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"testing"
99
"time"
1010

11+
"github.com/gitpod-io/gitpod/common-go/db"
1112
"github.com/google/go-cmp/cmp"
1213
"github.com/google/go-cmp/cmp/cmpopts"
1314
"github.com/stretchr/testify/require"

components/usage/pkg/apiv1/usage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212

1313
"github.com/google/uuid"
1414

15+
"github.com/gitpod-io/gitpod/common-go/db"
1516
"github.com/gitpod-io/gitpod/common-go/log"
1617
v1 "github.com/gitpod-io/gitpod/usage-api/v1"
1718
"google.golang.org/grpc/codes"

components/usage/pkg/apiv1/usage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"time"
1313

1414
"github.com/gitpod-io/gitpod/common-go/baseserver"
15+
"github.com/gitpod-io/gitpod/common-go/db"
1516
"github.com/gitpod-io/gitpod/common-go/db/dbtest"
1617
v1 "github.com/gitpod-io/gitpod/usage-api/v1"
1718
"github.com/google/uuid"

components/usage/pkg/server/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"google.golang.org/grpc/credentials/insecure"
1919

2020
"github.com/gitpod-io/gitpod/common-go/baseserver"
21+
"github.com/gitpod-io/gitpod/common-go/db"
2122
"github.com/gitpod-io/gitpod/common-go/log"
2223
v1 "github.com/gitpod-io/gitpod/usage-api/v1"
2324
"github.com/gitpod-io/gitpod/usage/pkg/apiv1"

components/usage/pkg/stripe/stripe.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"google.golang.org/grpc/codes"
1818
"google.golang.org/grpc/status"
1919

20+
"github.com/gitpod-io/gitpod/common-go/db"
2021
"github.com/gitpod-io/gitpod/common-go/log"
2122
"github.com/stripe/stripe-go/v72"
2223
"github.com/stripe/stripe-go/v72/client"

components/usage/pkg/stripe/stripe_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12+
"github.com/gitpod-io/gitpod/common-go/db"
1213
"github.com/stretchr/testify/require"
1314
)
1415

0 commit comments

Comments
 (0)