Skip to content

Commit 08e6f81

Browse files
committed
Lint fix
1 parent edbad45 commit 08e6f81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/pkg/controller/controller_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,8 @@ func TestController_resourceInNamespaceSelector(t *testing.T) {
23872387
for _, tt := range tests {
23882388
t.Run(tt.name, func(t *testing.T) {
23892389
fakeClient := fake.NewSimpleClientset()
2390-
fakeClient.CoreV1().Namespaces().Create(context.Background(), &tt.fields.namespace, metav1.CreateOptions{})
2390+
namespace, _ := fakeClient.CoreV1().Namespaces().Create(context.Background(), &tt.fields.namespace, metav1.CreateOptions{})
2391+
logrus.Infof("created fakeClient namesapce for testing = %s", namespace.Name)
23912392

23922393
c := &Controller{
23932394
client: fakeClient,

0 commit comments

Comments
 (0)