joyrex2001 / kubedock

Kubedock is a minimal implementation of the docker api that will orchestrate containers on a Kubernetes cluster, rather than running containers locally.
MIT License
212 stars 32 forks source link

Fix tailing logs with negative limits #78

Closed lpiepiora closed 6 months ago

lpiepiora commented 6 months ago

This PR changes the type used the tail limit, so that negative numbers are treated as no limit, instead of crashing.

This hopefully fixes an issue reported here: https://github.com/joyrex2001/kubedock/issues/77

joyrex2001 commented 6 months ago

Looks good. If you fix the typo, I'll merge.