Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mgubaidullin committed Oct 5, 2023
1 parent 714e07c commit 03ac3bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ private Pod getDevModePod(String name, String jbangOptions, Map<String, String>

private void createPVC(String podName, Map<String, String> labels) {
try (KubernetesClient client = kubernetesClient()) {
PersistentVolumeClaim old = client.persistentVolumeClaims().inNamespace(getNamespace()).withName(podName).get();
if (old == null) {
PersistentVolumeClaim pvc = new PersistentVolumeClaimBuilder()
.withNewMetadata()
Expand Down

0 comments on commit 03ac3bf

Please sign in to comment.