fix : `start` and `stop` commands crash when container state diverges from local config
Description :
- Fixed
microcks startto sync with daemon state before starting containers - Fixed
microcks stopto handle already-removed containers gracefully - Fixed
UpsertInstanceto match byNameinstead ofContainerID - Prevented duplicate ghostt entries in
~/.config/microcks/config - Added
GetContainer(name)to inspect real container state from Docker/Podman
Resolves : #306
Removed return statemnts following log.Fatalf(). bcoz, log.Fatalf calls os.Exit(1) and terminates the program immediately, making any subsequent return unreachable.
@DivyanshuVortex, how do you temporarily deploy your PR to build?
@DivyanshuVortex, how do you temporarily deploy your PR to build?
GitHub Actions is set to auto-run on PR , so the temp Build deploy just kicked off automatically when the PR got opened/updated.
Hey @Harsh4902, could you please review this PR??? thnx
This is fixed in this PR https://github.com/microcks/microcks-cli/pull/456