mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
e2e: remove unparam linter escapes from getStaticPV and getStaticPVC
This `unparam` linter escape is no longer needed and CI is failing if we keep there. This commit remove the same and make CI happy. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
88911eb4e9
commit
784c3ef06d
@ -22,7 +22,6 @@ const (
|
||||
intreeVolPrefix = "kubernetes-dynamic-pvc-"
|
||||
)
|
||||
|
||||
// nolint:unparam // currently name receive pvName, this can change in the future
|
||||
func getStaticPV(
|
||||
name, volName, size, secretName, secretNS, sc, driverName string,
|
||||
blockPV bool,
|
||||
@ -70,7 +69,6 @@ func getStaticPV(
|
||||
return pv
|
||||
}
|
||||
|
||||
// nolint:unparam // currently name receive same name, this can change in the future
|
||||
func getStaticPVC(name, pvName, size, ns, sc string, blockPVC bool) *v1.PersistentVolumeClaim {
|
||||
pvc := &v1.PersistentVolumeClaim{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
|
Loading…
Reference in New Issue
Block a user