From 80c3f500b6890f030c81b4b5b6c7270f9cf09ffc Mon Sep 17 00:00:00 2001 From: John Naulty Date: Wed, 22 Jan 2020 01:06:26 -0800 Subject: [PATCH] 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. --- pkg/volume/awsebs/aws_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/volume/awsebs/aws_util.go b/pkg/volume/awsebs/aws_util.go index be53866ee06..93f5ee5a2ea 100644 --- a/pkg/volume/awsebs/aws_util.go +++ b/pkg/volume/awsebs/aws_util.go @@ -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 {