OpenAtomFoundation / SmartIDE

CloudNative IDE - Empower develoeprs with CloudNative technologies, may the force with you!
https://smartide.cn
GNU General Public License v3.0
432 stars 60 forks source link

[BUG] Incorrect break when list all docker container #44

Open ABNER-1 opened 1 year ago

ABNER-1 commented 1 year ago

As code show, this function will get all container status when container in dockerComposeServices. However, when get any correct container, the function will break incorrectly. This bug make the function return only the first correct container.

https://github.com/SmartIDE/SmartIDE/blob/fb52a51870f8d65561651075caaa345bef038dd0/cli/cmd/start/env.go#L132-L141