Skip to content

Commit 80c3f50

Browse files
author
John Naulty
committed
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.
1 parent 1735f7a commit 80c3f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/volume/awsebs/aws_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error {
7171
}
7272

7373
// CreateVolume creates an AWS EBS volume.
74-
// Returns: volumeID, volumeSizeGB, labels, error
74+
// Returns: volumeID, volumeSizeGB, labels, fstype, error
7575
func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner, node *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (aws.KubernetesVolumeID, int, map[string]string, string, error) {
7676
cloud, err := getCloudProvider(c.awsElasticBlockStore.plugin.host.GetCloudProvider())
7777
if err != nil {

0 commit comments

Comments
 (0)