mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-08-16 14:57:09 +00:00
Minor tweaks
This commit is contained in:
@ -722,6 +722,6 @@ func (c CleanupPolicy) Validate() error {
|
||||
case CleanupPolicySkip, CleanupPolicyDelete:
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("invalid CleanupPolicy: %v", c)
|
||||
return fmt.Errorf("invalid cleanupPolicy: %v", c)
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var _ = Describe("Database webhook", func() {
|
||||
Context("When creating a Grant", func() {
|
||||
Context("When creating a Database", func() {
|
||||
key := types.NamespacedName{
|
||||
Name: "database-create-webhook",
|
||||
Namespace: testNamespace,
|
||||
|
@ -549,7 +549,7 @@ var _ = Describe("User", func() {
|
||||
Expect(k8sClient.Delete(testCtx, &user)).To(Succeed())
|
||||
expectToNotExist(testCtx, k8sClient, &user)
|
||||
|
||||
By("Expecting credentials to be invalid")
|
||||
By("Expecting credentials to be valid")
|
||||
testConnection(userKey.Name, passwordSecretKeyRef, databaseKey.Name, true)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user