Learning as one goes. Initialize map.

This commit is contained in:
Jan Mußler
2020-12-08 22:52:28 +01:00
parent c85c288c25
commit 523e2d67d8
+1
View File
@@ -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