mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
wait for test cluster to be ready (all machines up)
This commit is contained in:
@@ -471,6 +471,7 @@ func (cli *Client) RemoveService(ctx context.Context, id string) error {
|
||||
return
|
||||
}
|
||||
removeCtx := metadata.NewOutgoingContext(ctx, metadata.Pairs("machines", machineIP))
|
||||
// TODO: gracefully stop the container before removing it without force.
|
||||
err := cli.RemoveContainer(removeCtx, mc.Container.ID, container.RemoveOptions{Force: true})
|
||||
if err != nil {
|
||||
if !dockerclient.IsErrNotFound(err) {
|
||||
|
||||
Reference in New Issue
Block a user