-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Daemon: Move daemon running check to daemon client package
This move will help us to consume, daemon running check in the preflight to make decision around if we need to start the daemon as part of preflight or use the existing one. Also Break DaemonRunning func to GetVersion and CheckIfOlderVersion because DaemonRunning function is doing 2 things, first it check if daemon client is responding and then it check if running daemon is using same version as crc version which query to it. This pr breaks this in two different functions so on consumer side it should be easy to utilize those different functionality.
- Loading branch information
1 parent
0a7df3b
commit 0a46284
Showing
2 changed files
with
24 additions
and
10 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
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