Skip to content

Commit

Permalink
Fix string sub
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Nov 18, 2021
1 parent 12a4096 commit e1e61f2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
.withKind("PersistentVolume")
.withApiVersion("v1")
.withNewMetadata()
.withName(f"{PV_NAME}-{i}")
.withName(s"${PV_NAME}-${i}")
.endMetadata()
.withNewSpec()
.withCapacity(Map("storage" -> new Quantity("1Gi")).asJava)
Expand All @@ -85,7 +85,7 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
.withKind("PersistentVolumeClaim")
.withApiVersion("v1")
.withNewMetadata()
.withName(f"{PVC_NAME}-{i}")
.withName(s"${PVC_NAME}-${i}")
.endMetadata()
.withNewSpec()
.withAccessModes("ReadWriteOnce")
Expand All @@ -109,13 +109,13 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
kubernetesTestComponents
.kubernetesClient
.persistentVolumeClaims()
.withName(f"{PVC_NAME}-{i}")
.withName(s"${PVC_NAME}-${i}")
.delete()

kubernetesTestComponents
.kubernetesClient
.persistentVolumes()
.withName(f"{PV_NAME}-{i}")
.withName(s"${PV_NAME}-${i}")
.delete()

kubernetesTestComponents
Expand Down

0 comments on commit e1e61f2

Please sign in to comment.