Skip to content

Commit

Permalink
Fix generate?
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker committed Sep 4, 2023
1 parent a9ea8ba commit 0b5fa89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers-sdk/v1/plugin/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ type GRPCProviderCallbackServer struct {
UnsafeProviderCallbackServer
}

var empty CollectRes
var emptyCollectRes CollectRes

func (m *GRPCProviderCallbackServer) Collect(ctx context.Context, req *DataRes) (resp *CollectRes, err error) {
return &empty, m.Impl.Collect(req)
return &emptyCollectRes, m.Impl.Collect(req)
}

func (m *GRPCProviderCallbackServer) GetRecording(ctx context.Context, req *DataReq) (resp *ResourceData, err error) {
Expand Down

0 comments on commit 0b5fa89

Please sign in to comment.