Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Refactor k8s temp file cleanup #37

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

dalees
Copy link
Contributor

@dalees dalees commented Jan 9, 2024

Addresses some comments from internal code review.

  • Rename class variable as it is not part of the public interface.
  • Filter out None early, rather than later.
  • Catch and ignore exceptions in os.remove so later file cleanup is attempted.

Addresses some comments from internal code review.

* Rename class variable as it is not part of the public interface.
* Filter out `None` early, rather than later.
* Catch and ignore exceptions in `os.remove` so later file cleanup is
  attempted.
Copy link
Member

@mkjpryor mkjpryor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkjpryor mkjpryor merged commit fcaaf6b into stackhpc:main Jan 9, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants