Skip to content

Commit

Permalink
Merge pull request #1054 from askervin/5QV_fix_demotion_exit
Browse files Browse the repository at this point in the history
demoter: fix sudden cri-resmgr process exit on page demotion
  • Loading branch information
marquiz committed Aug 22, 2023
2 parents 85f9f7c + ce9f696 commit 26f0fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cri/resource-manager/control/page-migrate/demoter.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (d *demoter) getPagesForContainer(c *container, sourceNodes idset.IDSet) (p
mapsBytes, err := os.ReadFile(mapsPath)
if err != nil {
log.Error("Could not read maps: %v\n", err)
os.Exit(1)
continue
}
mapsLines := strings.Split(string(mapsBytes), "\n")

Expand Down

0 comments on commit 26f0fc4

Please sign in to comment.