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 8, 2023
1 parent 1056b7c commit 007ae54
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 @@ -122,10 +122,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 007ae54

Please sign in to comment.