File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7
7
https://gateway-api.sigs.k8s.io/geps/gep-2257/).
8
8
9
9
Good things to try:
10
- >>> python examples/gep2257.py 1h
10
+ >>> python examples/duration- gep2257.py 1h
11
11
Duration: 1h
12
- >>> python examples/gep2257.py 3600s
12
+ >>> python examples/duration- gep2257.py 3600s
13
13
Duration: 1h
14
- >>> python examples/gep2257.py 90m
14
+ >>> python examples/duration- gep2257.py 90m
15
15
Duration: 1h30m
16
- >>> python examples/gep2257.py 30m1h10s5s
16
+ >>> python examples/duration- gep2257.py 30m1h10s5s
17
17
Duration: 1h30m15s
18
- >>> python examples/gep2257.py 0h0m0s0ms
18
+ >>> python examples/duration- gep2257.py 0h0m0s0ms
19
19
Duration: 0s
20
- >>> python examples/gep2257.py -5m
20
+ >>> python examples/duration- gep2257.py -5m
21
21
ValueError: Invalid duration format: -5m
22
- >>> python examples/gep2257.py 1.5h
22
+ >>> python examples/duration- gep2257.py 1.5h
23
23
ValueError: Invalid duration format: 1.5h
24
24
"""
25
25
You can’t perform that action at this time.
0 commit comments