Skip to content

Commit

Permalink
Increase code coverage of the Nginx extension (#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored May 7, 2024
1 parent d9118db commit 625ac75
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 377 deletions.
2 changes: 1 addition & 1 deletion betty/extension/nginx/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def public_url(self) -> str:
@classmethod
def is_available(cls) -> bool:
try:
docker.from_env().info()
docker.from_env()
return True
except DockerException as e:
logging.getLogger(__name__).warning(e)
Expand Down
Loading

0 comments on commit 625ac75

Please sign in to comment.