Skip to content

Commit

Permalink
chore(usage): upgrade proto version to beta (#20)
Browse files Browse the repository at this point in the history
Because

- we are going to release beta version of Core and VDP

This commit

- upgrade proto version to beta
  • Loading branch information
donch1989 authored Dec 6, 2023
1 parent 70410a0 commit 4c05f87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/instill-ai/usage-client/reporter"

usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta"
)

// InitReporter creates a usage reporter
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ retract v0.2.0-alpha

require (
github.com/catalinc/hashcash v0.0.0-20220723060415-5e3ec3e24f67
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e
google.golang.org/protobuf v1.30.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e h1:LxRhHQb0dWRWUKYwNTE/wLnV0Bd/pRasg5J0XILBoJw=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e/go.mod h1:z/L84htamlJ4QOR4jtJOaa+y3Hihu7WEqOipW0LEkmc=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e h1:n9hR63xsrYQ104bj397LwYr3hpu51nAJRYQLdy/S/I0=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e/go.mod h1:q/YL5TZXD9nvmJ7Rih4gY3/B2HT2+GiFdxeZp9D+yE4=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
2 changes: 1 addition & 1 deletion reporter/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/instill-ai/usage-client/internal/logger"
"github.com/instill-ai/usage-client/session"

usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/json"
"time"

usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta"
)

// Session is a new type of usagePB.session
Expand Down

0 comments on commit 4c05f87

Please sign in to comment.