reverting check when generating token for Connection

This commit is contained in:
Daniele Ferru
2026-01-15 00:00:31 +01:00
parent 39a5836ff0
commit 5150cabbbe
2 changed files with 4 additions and 6 deletions
@@ -107,7 +107,7 @@ func TestConnection_Mutate(t *testing.T) {
},
},
{
name: "should not generate JWT token when token is already there",
name: "should not generate JWT token when no new private key is provided",
connection: &provisioning.Connection{
ObjectMeta: metav1.ObjectMeta{Name: "test-connection", Generation: 1},
Spec: provisioning.ConnectionSpec{