Skip to content

Commit

Permalink
Fix very annoying regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Garnsey committed Apr 4, 2024
1 parent 0d5bbf6 commit fa1389b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/medusa/medusaconfiguration_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func testMedusaConfigurationOk(t *testing.T, ctx context.Context, f *framework.F
updatedSecret := &corev1.Secret{}
require.NoError(f.Client.Get(ctx, types.NamespacedName{Name: "medusa-bucket-key", Namespace: namespace}, updatedSecret))
//Ensure that the unique label has been added to the secret.
if bucketKeySecret.Labels[MedusaStorageSecretIdentifierLabel] != utils.HashNameNamespace(bucketKeySecret.Name, bucketKeySecret.Namespace) {
if updatedSecret.Labels[MedusaStorageSecretIdentifierLabel] != utils.HashNameNamespace(updatedSecret.Name, updatedSecret.Namespace) {
return false
}
for _, condition := range updated.Status.Conditions {
Expand Down

0 comments on commit fa1389b

Please sign in to comment.