resetIsDaemonRunningCache static method
Resets the cache for isDaemonRunning.
- if
dockerHost
is provided it will reset the cached result only fordockerHost
.
Implementation
static void resetIsDaemonRunningCache([DockerHost? dockerHost]) async {
if (dockerHost != null) {
_daemonRunning.remove(dockerHost);
} else {
_daemonRunning.clear();
}
}