Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Flynn <[email protected]>
  • Loading branch information
kflynn committed Aug 21, 2024
1 parent 3b4121e commit f05c642
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/gep2257.py → examples/duration-gep2257.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
https://gateway-api.sigs.k8s.io/geps/gep-2257/).
Good things to try:
>>> python examples/gep2257.py 1h
>>> python examples/duration-gep2257.py 1h
Duration: 1h
>>> python examples/gep2257.py 3600s
>>> python examples/duration-gep2257.py 3600s
Duration: 1h
>>> python examples/gep2257.py 90m
>>> python examples/duration-gep2257.py 90m
Duration: 1h30m
>>> python examples/gep2257.py 30m1h10s5s
>>> python examples/duration-gep2257.py 30m1h10s5s
Duration: 1h30m15s
>>> python examples/gep2257.py 0h0m0s0ms
>>> python examples/duration-gep2257.py 0h0m0s0ms
Duration: 0s
>>> python examples/gep2257.py -5m
>>> python examples/duration-gep2257.py -5m
ValueError: Invalid duration format: -5m
>>> python examples/gep2257.py 1.5h
>>> python examples/duration-gep2257.py 1.5h
ValueError: Invalid duration format: 1.5h
"""

Expand Down

0 comments on commit f05c642

Please sign in to comment.