Skip to content

Commit

Permalink
Update controllers/storageconfig_controller_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Filippe Spolti <filippespolti@gmail.com>
  • Loading branch information
Jooho and spolti committed Feb 22, 2024
1 parent 5f18a45 commit 07a49b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/storageconfig_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func waitForSecret(cli client.Client, namespace, secretName string, timeout time
}
}

// // compareSecrets checks if two Secret data are equal, if not return false
// compareSecrets checks if two Secret data are equal, if not return false
func compareSecrets(s1 *corev1.Secret, s2 *corev1.Secret) bool {
// Two Secret will be equal if the data is identical
return reflect.DeepEqual(s1.Data, s2.Data)
Expand Down

0 comments on commit 07a49b5

Please sign in to comment.