Skip to content

Commit

Permalink
Merge pull request #367 from foundriesio/check-only-if-running
Browse files Browse the repository at this point in the history
appengine: Check only if app installed and running
  • Loading branch information
mike-sul authored Dec 2, 2024
2 parents b9f64c0 + c3d9afe commit d171d05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/docker/restorableappengine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ bool RestorableAppEngine::isRunning(const App& app) const {
bool res{false};

try {
res = isAppFetched(app) && isAppInstalled(app) &&
isRunning(app, (install_root_ / app.name / ComposeFile).string(), docker_client_);
res = isAppInstalled(app) && isRunning(app, (install_root_ / app.name / ComposeFile).string(), docker_client_);
} catch (const std::exception& exc) {
LOG_WARNING << "App: " << app.name << ", cannot check whether App is running: " << exc.what();
}
Expand Down

0 comments on commit d171d05

Please sign in to comment.