fixed when container removed to be removed from the tracked list

This commit is contained in:
2021-08-13 22:52:01 +04:00
parent a920ff749b
commit c7985ed318
2 changed files with 7 additions and 39 deletions

View File

@@ -152,6 +152,12 @@ func RemoveContainerGroups(ContainerID string) error {
if err != nil {
return err
}
// Write groups information on the grouptrackcontainer.json file
err = groups.WriteGroup()
if err != nil {
return err
}
return nil
}