mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
apache: Fix failure during app update
- During application update, if the last_updated_version is not provided for the WebServer component, app's update to next version fails. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
a35c320ebd
commit
5af2d44f83
2 files changed
+9
-1
No files matched your search
@@ -44,7 +44,7 @@ class Webserver(app.LeaderComponent):
|
||||
self.kind = kind
|
||||
self.urls = urls or []
|
||||
self.expect_redirects = expect_redirects
|
||||
self.last_updated_version = last_updated_version
|
||||
self.last_updated_version = last_updated_version or 0
|
||||
|
||||
def is_enabled(self):
|
||||
"""Return whether the Apache configuration is enabled."""
|
||||
|
||||
Reference in new issue
Block a user