Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(usage): upgrade proto version to beta #20

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
)

4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion reporter/reporter.go
Original file line number Diff line number Diff line change
@@ -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 (
2 changes: 1 addition & 1 deletion session/session.go
Original file line number Diff line number Diff line change
@@ -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