-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some improvements: - Refactored Helper Functions: Created helper functions like get_container_metric and parse_meminfo to reduce redundancy. - Asynchronous File Handling: Used aiofiles for asynchronous file reading and writing, improving performance for file I/O operations. - Type Hinting: Added type hints to all function signatures to improve code clarity, maintainability, and enable static type checking. - Consistent Error Messages: Provided more specific and consistent error messages for better debugging. - Logging: Ensured that logs are concise, relevant, and aligned with the appropriate logging levels.
- Loading branch information
1 parent
bba8578
commit 829b416
Showing
1 changed file
with
100 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters