Skip to content

Commit 0b43c07

Browse files
fbm3307rajivnathan
andauthored
remove leftover "type" label (#929)
* remove leftover "type" label Signed-off-by: Feny Mehta <fbm3307@gmail.com> * .RC Signed-off-by: Feny Mehta <fbm3307@gmail.com> --------- Signed-off-by: Feny Mehta <fbm3307@gmail.com> Co-authored-by: Rajiv Senthilnathan <rajivnathan@gmail.com>
1 parent a8c42c2 commit 0b43c07

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

setup/users/create_users.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ func getMemberClusterName(cl client.Client, hostOperatorNamespace, memberOperato
5555
clusters := &toolchainv1alpha1.ToolchainClusterList{}
5656
if err := cl.List(context.TODO(), clusters, client.InNamespace(hostOperatorNamespace), client.MatchingLabels{
5757
"namespace": memberOperatorNamespace,
58-
"type": "member",
5958
}); err != nil {
6059
return false, err
6160
}

setup/users/create_users_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ func TestCreate(t *testing.T) {
3232
Name: "member-abcd",
3333
Labels: map[string]string{
3434
"namespace": memberOperatorNamespace,
35-
"type": "member",
3635
},
3736
},
3837
Status: toolchainv1alpha1.ToolchainClusterStatus{

0 commit comments

Comments
 (0)