overlord/ifacestate: don't crash if connection cannot be reloaded #936

Merged
merged 1 commit into from Apr 14, 2016

Conversation

Projects
None yet
2 participants
Contributor

zyga commented Apr 14, 2016

This patch changes the interface manager to gracefully ignore errors
when trying to reload connections. This can fail if the snap in question
does not get mounted (for any reason) and the resulting system will
appear not to have that snap installed.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

overlord/ifacestate: don't crash if connection cannot be reloaded
This patch changes the interface manager to gracefully ignore errors
when trying to reload connections. This can fail if the snap in question
does not get mounted (for any reason) and the resulting system will
appear not to have that snap installed.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

@niemeyer niemeyer merged commit e9fee64 into snapcore:master Apr 14, 2016

3 of 4 checks passed

autopkgtest
Details
Integration tests Success
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.007%) to 76.921%
Details

@zyga zyga deleted the zyga:overlord-nonfatal-conn-reload branch Apr 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment