This repository was archived by the owner on Aug 14, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ func (p *openEBSProvisioner) Provision(options controller.VolumeOptions) (*v1.Pe
113113
114114 //Pass through labels from PVC to maya-apiserver
115115 volumeSpec .Metadata .Labels .Application = options .PVC .ObjectMeta .GetLabels ()[mayav1 .PVCLabelsApplication ]
116- volumeSpec .Metadata .Labels .ReplicaTopoKeyDomain = options .PVC .ObjectMeta .GetLabels ()[mayav1 .PVCLabelsREplicaTopKeyDomain ]
117- volumeSpec .Metadata .Labels .ReplicaTopoKeyType = options .PVC .ObjectMeta .GetLabels ()[mayav1 .PVCLabelsREplicaTopKeyType ]
116+ volumeSpec .Metadata .Labels .ReplicaTopoKeyDomain = options .PVC .ObjectMeta .GetLabels ()[mayav1 .PVCLabelsReplicaTopKeyDomain ]
117+ volumeSpec .Metadata .Labels .ReplicaTopoKeyType = options .PVC .ObjectMeta .GetLabels ()[mayav1 .PVCLabelsReplicaTopKeyType ]
118118
119119 _ , err := openebsVol .CreateVolume (volumeSpec )
120120 if err != nil {
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ package v1
1818
1919const (
2020 PVCLabelsApplication = "volumeprovisioner.mapi.openebs.io/application"
21- PVCLabelsREplicaTopKeyDomain = "volumeprovisioner.mapi.openebs.io/replica-topology-key-domain"
22- PVCLabelsREplicaTopKeyType = "volumeprovisioner.mapi.openebs.io/replica-topology-key-type"
21+ PVCLabelsReplicaTopKeyDomain = "volumeprovisioner.mapi.openebs.io/replica-topology-key-domain"
22+ PVCLabelsReplicaTopKeyType = "volumeprovisioner.mapi.openebs.io/replica-topology-key-type"
2323)
2424
2525//VolumeSpec holds the config for creating a OpenEBS Volume
You can’t perform that action at this time.
0 commit comments