Skip to content

Commit f05c642

Browse files
committed
Review feedback
Signed-off-by: Flynn <[email protected]>
1 parent 3b4121e commit f05c642

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/gep2257.py renamed to examples/duration-gep2257.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
https://gateway-api.sigs.k8s.io/geps/gep-2257/).
88
99
Good things to try:
10-
>>> python examples/gep2257.py 1h
10+
>>> python examples/duration-gep2257.py 1h
1111
Duration: 1h
12-
>>> python examples/gep2257.py 3600s
12+
>>> python examples/duration-gep2257.py 3600s
1313
Duration: 1h
14-
>>> python examples/gep2257.py 90m
14+
>>> python examples/duration-gep2257.py 90m
1515
Duration: 1h30m
16-
>>> python examples/gep2257.py 30m1h10s5s
16+
>>> python examples/duration-gep2257.py 30m1h10s5s
1717
Duration: 1h30m15s
18-
>>> python examples/gep2257.py 0h0m0s0ms
18+
>>> python examples/duration-gep2257.py 0h0m0s0ms
1919
Duration: 0s
20-
>>> python examples/gep2257.py -5m
20+
>>> python examples/duration-gep2257.py -5m
2121
ValueError: Invalid duration format: -5m
22-
>>> python examples/gep2257.py 1.5h
22+
>>> python examples/duration-gep2257.py 1.5h
2323
ValueError: Invalid duration format: 1.5h
2424
"""
2525

0 commit comments

Comments
 (0)