Merge lp:~hloeung/ubuntu-repository-cache/configure-services-once into lp:ubuntu-repository-cache

Proposed by Haw Loeung
Status: Merged
Approved by: Paul Collins
Approved revision: 281
Merged at revision: 281
Proposed branch: lp:~hloeung/ubuntu-repository-cache/configure-services-once
Merge into: lp:ubuntu-repository-cache
Diff against target: 12 lines (+2/-0)
1 file modified
reactive/ubuntu-repository-cache.py (+2/-0)
To merge this branch: bzr merge lp:~hloeung/ubuntu-repository-cache/configure-services-once
Reviewer Review Type Date Requested Status
Paul Collins lgtm Approve
Canonical IS Reviewers Pending
Review via email: mp+389048@code.launchpad.net

Commit message

Fixed to not always run configure_services() and with that, reload apache

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Paul Collins (pjdc) :
review: Approve (lgtm)
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 281

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'reactive/ubuntu-repository-cache.py'
2--- reactive/ubuntu-repository-cache.py 2020-07-09 22:12:09 +0000
3+++ reactive/ubuntu-repository-cache.py 2020-08-11 03:27:17 +0000
4@@ -53,6 +53,8 @@
5 LOG('Disabling {}'.format(azure_disk_warning))
6 host.service_pause(azure_disk_warning)
7
8+ reactive.set_flag('ubuntu-repository-cache.configured')
9+
10
11 @reactive.hook('upgrade-charm')
12 def upgrade_charm():

Subscribers

People subscribed via source and target branches