mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 07:59:47 +02:00
Learning as one goes. Initialize map.
This commit is contained in:
@@ -141,6 +141,7 @@ func New(cfg Config, kubeClient k8sutil.KubernetesClient, pgSpec acidv1.Postgres
|
|||||||
|
|
||||||
if cfg.OpConfig.StorageResizeMode != "pvc" {
|
if cfg.OpConfig.StorageResizeMode != "pvc" {
|
||||||
cluster.VolumeResizer = &volumes.EBSVolumeResizer{AWSRegion: cfg.OpConfig.AWSRegion}
|
cluster.VolumeResizer = &volumes.EBSVolumeResizer{AWSRegion: cfg.OpConfig.AWSRegion}
|
||||||
|
cluster.EBSVolumes = make(map[string]volumes.VolumeProperties)
|
||||||
}
|
}
|
||||||
|
|
||||||
return cluster
|
return cluster
|
||||||
|
|||||||
Reference in New Issue
Block a user