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:
John Naulty 2020-01-22 01:06:26 -08:00
parent 1735f7a2b6
commit 80c3f500b6
No known key found for this signature in database
GPG Key ID: F73012FCE3DCCA36

View File

@ -71,7 +71,7 @@ func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error {
}
// 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) {
cloud, err := getCloudProvider(c.awsElasticBlockStore.plugin.host.GetCloudProvider())
if err != nil {