engine-api icon indicating copy to clipboard operation
engine-api copied to clipboard

ContainerStop and ContainerRestart should use time.Duration for timeout

Open aaronlehmann opened this issue 9 years ago • 2 comments

These API functions take an integer number of seconds for a timeout. It would be much more idiomatic Go to use time.Duaration to specify the timeout.

aaronlehmann avatar May 19 '16 17:05 aaronlehmann

ohhh I like that 😃

vdemeester avatar May 19 '16 18:05 vdemeester

I like that too

LK4D4 avatar May 19 '16 18:05 LK4D4