-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor image pulling logic to support different pull commands (#2485)
- Updated the image pulling mechanism to conditionally format the pull command based on the command type (e.g., crictl). - Improved code readability by reducing redundancy in command construction. This change enhances flexibility in handling image pulls across different environments. Signed-off-by: LazyBusyYang <[email protected]>
- Loading branch information
1 parent
5f8c6cf
commit a51f4e1
Showing
1 changed file
with
24 additions
and
17 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