func (r *ReconcileArgoCDExport) reconcileLocalStorage(cr *argoprojv1a1.ArgoCDExport) error {
	if cr.Spec.Storage == nil || strings.ToLower(cr.Spec.Storage.Backend) != common.ArgoCDExportStorageBackendLocal {
		return nil // Do nothing if storage or local options not set
	}

	log.Info("reconciling local pvc")
	if err := r.reconcilePVC(cr); err != nil {
		return err
	}
	return nil
}
// reconcileLocalStorage will ensure the PersistentVolumeClaim is present for the ArgoCDExport.
reconcileLocalStorage will ensure the PersistentVolumeClaim is present for the ArgoCDExport.
// reconcileLocalStorage will ensure the PersistentVolumeClaim is present for the ArgoCDExport .
func (r *ReconcileArgoCDExport) reconcileLocalStorage(cr *argoprojv1a1.ArgoCDExport) error {
	if cr.Spec.Storage == nil || strings.ToLower(cr.Spec.Storage.Backend) != common.ArgoCDExportStorageBackendLocal {
		return nil 
	}
	log.Info("reconciling local pvc")
	if err := r.reconcilePVC(cr); err != nil {
		return err
	}
	return nil
}
func ( r * ReconcileArgoCDExport ) reconcileLocalStorage ( cr * argoprojv1a1 . ArgoCDExport ) error { if cr . Spec . Storage == nil || strings . ToLower ( cr . Spec . Storage . Backend ) != common . ArgoCDExportStorageBackendLocal { return nil } log . Info ( " " ) if err := r . reconcilePVC ( cr ) ; err != nil { return err } return nil }
reconcileLocalStorage will ensure the PersistentVolumeClaim is present for the ArgoCDExport.
reconcileLocalStorage will ensure the PersistentVolumeClaim is present for the ArgoCDExport .
// Do nothing if storage or local options not set