Skip to content

Commit

Permalink
Merge pull request #35762 from geoand/#35747
Browse files Browse the repository at this point in the history
Delete temporary openshift files
  • Loading branch information
geoand authored Sep 6, 2023
2 parents 339020d + c14ba2b commit 69b0e01
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 69b0e01

Please sign in to comment.