File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 77https://gateway-api.sigs.k8s.io/geps/gep-2257/).
88
99Good things to try:
10- >>> python examples/gep2257.py 1h
10+ >>> python examples/duration- gep2257.py 1h
1111Duration: 1h
12- >>> python examples/gep2257.py 3600s
12+ >>> python examples/duration- gep2257.py 3600s
1313Duration: 1h
14- >>> python examples/gep2257.py 90m
14+ >>> python examples/duration- gep2257.py 90m
1515Duration: 1h30m
16- >>> python examples/gep2257.py 30m1h10s5s
16+ >>> python examples/duration- gep2257.py 30m1h10s5s
1717Duration: 1h30m15s
18- >>> python examples/gep2257.py 0h0m0s0ms
18+ >>> python examples/duration- gep2257.py 0h0m0s0ms
1919Duration: 0s
20- >>> python examples/gep2257.py -5m
20+ >>> python examples/duration- gep2257.py -5m
2121ValueError: Invalid duration format: -5m
22- >>> python examples/gep2257.py 1.5h
22+ >>> python examples/duration- gep2257.py 1.5h
2323ValueError: Invalid duration format: 1.5h
2424"""
2525
You can’t perform that action at this time.
0 commit comments