Change since parameter in LogContainerCmd to String#1111
Change since parameter in LogContainerCmd to String#1111KostyaSha merged 1 commit intodocker-java:masterfrom
Conversation
|
I think we need undo the PR |
|
ok |
|
I have a container test setup where I need logs within a fraction of a second. What do you think the best approach for this is? The API allows for more than just integers ( |
|
my 2 cents FYI: |
|
How docker cli handle this? |
|
The Docker CLI uses the moby client: Which parses the timestamp before making the call to Docker API: The final format: As @fengxx suggested, adding a new method would make sense. Maybe name it |
The
docker logs-command takes on a variety of different formats for thesinceparameter.This PR allows for more formats when using
sinceparameter for the LogContainerCmd.This change is