Skip to content

Commit

Permalink
Merge pull request #9 from EESSI/terjekv/last_gc-in-GetCVMFSStatusJSO…
Browse files Browse the repository at this point in the history
…N-should-be-optional

last_gc in GetCVMFSStatusJSON should be optional.
  • Loading branch information
terjekv authored Jan 21, 2024
2 parents 395164d + e14b10c commit c061e63
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 269 deletions.
4 changes: 2 additions & 2 deletions cvmfsscraper/http_get_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class GetCVMFSStatusJSON(CVMFSBaseModel):
json_schema_extra={"format": "%a %b %d %H:%M:%S %Z %Y"},
)

last_gc: datetime = Field(
...,
last_gc: Optional[datetime] = Field(
None,
description="The last garbage collection time",
json_schema_extra={"format": "%a %b %d %H:%M:%S %Z %Y"},
)
Expand Down
Loading

0 comments on commit c061e63

Please sign in to comment.