Fix CreateVolume signature in comment
The CreateVolume function for aws-ebs provsiioner returns fstype, which was missing from the commented section above the function declaration.
This commit is contained in:
parent
1735f7a2b6
commit
80c3f500b6
@ -71,7 +71,7 @@ func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CreateVolume creates an AWS EBS volume.
|
// CreateVolume creates an AWS EBS volume.
|
||||||
// Returns: volumeID, volumeSizeGB, labels, error
|
// Returns: volumeID, volumeSizeGB, labels, fstype, error
|
||||||
func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner, node *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (aws.KubernetesVolumeID, int, map[string]string, string, error) {
|
func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner, node *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (aws.KubernetesVolumeID, int, map[string]string, string, error) {
|
||||||
cloud, err := getCloudProvider(c.awsElasticBlockStore.plugin.host.GetCloudProvider())
|
cloud, err := getCloudProvider(c.awsElasticBlockStore.plugin.host.GetCloudProvider())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user