Merge lp:~ahasenack/charms/trusty/glance-simplestreams-sync/gs3-retry-apt-update into lp:~landscape/charms/trusty/glance-simplestreams-sync/landscape
Proposed by
Andreas Hasenack
Status: | Merged |
---|---|
Approved by: | Andreas Hasenack |
Approved revision: | 70 |
Merged at revision: | 70 |
Proposed branch: | lp:~ahasenack/charms/trusty/glance-simplestreams-sync/gs3-retry-apt-update |
Merge into: | lp:~landscape/charms/trusty/glance-simplestreams-sync/landscape |
Diff against target: |
12 lines (+1/-1) 1 file modified
hooks/hooks.py (+1/-1) |
To merge this branch: | bzr merge lp:~ahasenack/charms/trusty/glance-simplestreams-sync/gs3-retry-apt-update |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bogdana Vereha (community) | Approve | ||
Adam Collard (community) | Approve | ||
Review via email: mp+299355@code.launchpad.net |
Commit message
Tell apt_update() to retry the operation, and fail hard if it doesn't succeed after several attempts.
Description of the change
Tell apt_update() to retry the operation, and fail hard if it doesn't succeed after several attempts. This is what charmhelpers' configure_source() does after adding a new apt source.
To post a comment you must log in.
+1