Skip to content

fix: pod mem exp. #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2022
Merged

fix: pod mem exp. #126

merged 1 commit into from
Jul 29, 2022

Conversation

tiny-x
Copy link
Member

@tiny-x tiny-x commented Jul 25, 2022

Signed-off-by: tiny-x [email protected]

Describe what this PR does / why we need it

Fix failed to get free memory correctly in container.

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

Signed-off-by: tiny-x <[email protected]>
available = available + int64(stats.Memory.Cache)
}
}
return total, available, nil
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix it in this line

@tiny-x tiny-x requested a review from MandssS July 25, 2022 09:59
@tiny-x tiny-x self-assigned this Jul 25, 2022
@tiny-x tiny-x added the type/bug Something isn't working label Jul 25, 2022
@tiny-x
Copy link
Member Author

tiny-x commented Jul 26, 2022

@xcaspar xcaspar self-requested a review July 29, 2022 08:51
@xcaspar xcaspar merged commit 5b7b263 into chaosblade-io:master Jul 29, 2022
@xcaspar xcaspar added this to the v1.7.0 milestone Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants