Learning as one goes. Initialize map.
This commit is contained in:
		
							parent
							
								
									c85c288c25
								
							
						
					
					
						commit
						523e2d67d8
					
				| 
						 | 
				
			
			@ -141,6 +141,7 @@ func New(cfg Config, kubeClient k8sutil.KubernetesClient, pgSpec acidv1.Postgres
 | 
			
		|||
 | 
			
		||||
	if cfg.OpConfig.StorageResizeMode != "pvc" {
 | 
			
		||||
		cluster.VolumeResizer = &volumes.EBSVolumeResizer{AWSRegion: cfg.OpConfig.AWSRegion}
 | 
			
		||||
		cluster.EBSVolumes = make(map[string]volumes.VolumeProperties)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return cluster
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue