Skip to content

Commit 34c3d8c

Browse files
Fix runtime test (#433)
1 parent f60788f commit 34c3d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/generate/ack/runtime_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"reflect"
1919
"testing"
2020

21-
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21+
"k8s.io/apimachinery/pkg/runtime/schema"
2222
rtclient "sigs.k8s.io/controller-runtime/pkg/client"
2323

2424
"github.com/aws/aws-sdk-go/aws/session"
@@ -53,8 +53,8 @@ func (ids *fakeIdentifiers) Region() *ackv1alpha1.AWSRegion {
5353

5454
type fakeDescriptor struct{}
5555

56-
func (fd *fakeDescriptor) GroupKind() *metav1.GroupKind {
57-
return nil
56+
func (fd *fakeDescriptor) GroupVersionKind() schema.GroupVersionKind {
57+
return schema.GroupVersionKind{}
5858
}
5959

6060
func (fd *fakeDescriptor) EmptyRuntimeObject() rtclient.Object {

0 commit comments

Comments
 (0)