-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move table rendering into own funcs
The logic for rendering tables with the checkpoint data was all present in a single function `showContainerCheckpoint()`. This has now been refactored to provide each table its own function that can be called to render it. This increases code maintainability going forward as more and more tables are added to the `checkpointctl show` command. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
- Loading branch information
Showing
1 changed file
with
76 additions
and
65 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