Fix representation of the pv's capacity which provisioned by glusterfs

pull/6/head
Serhii Aheienko 2017-11-17 18:45:29 +02:00
parent 52492e683f
commit cf08516cb7
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ func (p *glusterfsVolumeProvisioner) Provision() (*v1.PersistentVolume, error) {
} }
pv.Spec.Capacity = v1.ResourceList{ pv.Spec.Capacity = v1.ResourceList{
v1.ResourceName(v1.ResourceStorage): resource.MustParse(fmt.Sprintf("%dGi", sizeGB)), v1.ResourceName(v1.ResourceStorage): resource.MustParse(fmt.Sprintf("%dG", sizeGB)),
} }
return pv, nil return pv, nil
} }