Skip to content

Commit

Permalink
Delete temporary openshift files
Browse files Browse the repository at this point in the history
Closes: quarkusio#35747
(cherry picked from commit c14ba2b)
  • Loading branch information
geoand authored and gsmet committed Sep 13, 2023
1 parent 61e8b29 commit c990524
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,12 @@ public static void createContainerImage(KubernetesClientBuilder kubernetesClient

applyOpenshiftResources(openShiftClient, buildResources);
openshiftBuild(buildResources, tar, openshiftConfig, kubernetesClientBuilder);
} finally {
try {
tar.delete();
} catch (Exception e) {
LOG.warn("Unable to delete temporary file " + tar.toPath().toAbsolutePath(), e);
}
}
}

Expand Down

0 comments on commit c990524

Please sign in to comment.