Assaro / DD_Bot

Discord Bot to Control Docker Services via the Docker Socket
GNU General Public License v3.0
35 stars 5 forks source link

Request returns failed when it actually succeeded #6

Closed TyPilot closed 1 year ago

TyPilot commented 1 year ago

Priority: low Impact: UI/user communication Issue: When running the command /docker dockername:CONTAINER_NAME command:stop, the request returns that it was not able to stop the server. However, when checking /list, it has indeed stopped.

SmartSelect_20221015_101347_Discord

Assaro commented 1 year ago

This does happen on large containers right now, as the time between the stop command and the status check is currently hardcoded to five seconds. I will fix that soon, probably with a small subroutine to give it several tries.

Assaro commented 1 year ago

Fixed in latest commit #7

TyPilot commented 1 year ago

Awesome! I'm assuming I just restart the bot for the update to take affect? Thanks!