Skip to content

Commit f74e230

Browse files
committed
fixup! Check that a ListResource type has a matching Resource type
1 parent 88c77f0 commit f74e230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

list/list_resource_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ type ComputeInstanceWithListResourceConfigValidators struct {
2424
func (c *ComputeInstance) Configure(_ context.Context, _ resource.ConfigureRequest, _ *resource.ConfigureResponse) {
2525
}
2626

27-
func (c *ComputeInstance) ListResourceConfigSchema(_ context.Context, _ resource.SchemaRequest, _ resource.SchemaResponse) {
27+
func (c *ComputeInstance) ListResourceConfigSchema(_ context.Context, _ resource.SchemaRequest, _ *resource.SchemaResponse) {
2828
}
2929

30-
func (c *ComputeInstance) ListResource(_ context.Context, _ list.ListResourceRequest, _ list.ListResourceResponse) {
30+
func (c *ComputeInstance) ListResource(_ context.Context, _ list.ListResourceRequest, _ *list.ListResourceResponse) {
3131
}
3232

3333
func (c *ComputeInstance) Metadata(_ context.Context, _ resource.MetadataRequest, _ *resource.MetadataResponse) {

0 commit comments

Comments
 (0)