// WithDBReadyCondition sets the ready status
WithDBReadyCondition sets the ready status
// WithDBReadyCondition sets the ready status
func WithDBReadyCondition() MysqlDBOption {
	return func(db *mysqldatabase.Database) error {
		db.UpdateCondition(
			mysqlv1alpha1.MysqlDatabaseReady, corev1.ConditionTrue,
			mysqldatabase.ProvisionSucceeded, "success",
		)
		return nil
	}
}
func WithDBReadyCondition ( ) MysqlDBOption { return func ( db * mysqldatabase . Database ) error { db . UpdateCondition ( mysqlv1alpha1 . MysqlDatabaseReady , corev1 . ConditionTrue , mysqldatabase . ProvisionSucceeded , " " , ) return nil } }
WithDBReadyCondition sets the ready status
WithDBReadyCondition sets the ready status