From c5764735e27bbec44d5614912b3faf50191f5153 Mon Sep 17 00:00:00 2001 From: yuxiaobo Date: Fri, 10 Jan 2020 18:36:39 +0800 Subject: [PATCH] fix staticcheck:pkg/volume/awsebs Signed-off-by: yuxiaobo --- hack/.staticcheck_failures | 1 - pkg/volume/awsebs/aws_ebs.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index c78b6b0ce00..7b72b0c71d7 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -25,7 +25,6 @@ pkg/util/iptables pkg/util/ipvs/testing pkg/util/netsh pkg/volume -pkg/volume/awsebs pkg/volume/azure_dd pkg/volume/azure_file pkg/volume/cinder diff --git a/pkg/volume/awsebs/aws_ebs.go b/pkg/volume/awsebs/aws_ebs.go index 7bae0358e34..7606ad03c1b 100644 --- a/pkg/volume/awsebs/aws_ebs.go +++ b/pkg/volume/awsebs/aws_ebs.go @@ -481,8 +481,7 @@ func (d *awsElasticBlockStoreDeleter) Delete() error { type awsElasticBlockStoreProvisioner struct { *awsElasticBlockStore - options volume.VolumeOptions - namespace string + options volume.VolumeOptions } var _ volume.Provisioner = &awsElasticBlockStoreProvisioner{}