-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman wait man page is obsolete for version 2.x #8088
Comments
interval ,must endwith time unit, like ms s h |
The ticket is about documentation changes. After our jobs had started failing to run we figured out what was wrong. However, current man pages don't reflect the change. Podman 1.x wait works without time unit with number in micro seconds. |
This is not a documentation failure but a failure in code. We should allow for the specification of micro seconds. |
This sounds like a bug if it worked in 1.x but broke in 2.x - I don't mind
keeping the new units but if none are present we should default to whatever
1.x did.
…On Wed, Oct 21, 2020, 04:32 alitvak69 ***@***.***> wrote:
interval ,must endwith time unit, like ms s h
The ticket is about a documentation changes. After our jobs started
failing to start we figured out what was wrong. However current man pages
don't reflect the change. Podman 1.x wait works without time unit with
number in micro seconds.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8088 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCGFLGR5P3JL4VYQKSDSL2MB3ANCNFSM4SZGI2HA>
.
|
#8093 fixed this. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman wait command man page displayed on Read The Docs and distributed with podman package 2.x is obsolete as it doesn't reflect changes to the interval option format.
Steps to reproduce the issue:
root@foo:~# podman wait -i 200000 --latest
Describe the results you received:
Error: invalid argument "200000" for "-i, --interval" flag: time: missing unit in duration "200000"
Describe the results you expected:
Wait starts, no error.
Additional information you deem important (e.g. issue happens only occasionally):
The actual command in version 2.x should be
root@foo:~# podman wait -i 200ms --latest
Where numeric value follows a time unit (s,ms,us, ... etc)
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Ubuntu 18.04 amd64
The text was updated successfully, but these errors were encountered: