Skip to content

src/timeout: fix datetime related error #1283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JenySadadia
Copy link
Collaborator

Fix the below error:

File "/home/kernelci/pipeline/src/timeout.py", line 119, in _get_available_nodes
    'holdoff__lt': datetime.isoformat(datetime.utcnow()),
                   ^^^^^^^^^^^^^^^^^^
AttributeError: module 'datetime' has no attribute 'isoformat'

Related to: #1277

Fix the below error:
```
File "/home/kernelci/pipeline/src/timeout.py", line 119, in _get_available_nodes
    'holdoff__lt': datetime.isoformat(datetime.utcnow()),
                   ^^^^^^^^^^^^^^^^^^
AttributeError: module 'datetime' has no attribute 'isoformat'
```
Related to: kernelci#1277

Signed-off-by: Jeny Sadadia <[email protected]>
@JenySadadia JenySadadia requested a review from nuclearcat August 18, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant