-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1789 from axw/lp1430049-state-isnotassigned-errcause
state: use errors.Cause in IsNotAssigned There was a change in PR 1707 that causes the megawatcher to fail if the unit is not yet assigned to a machine. The cause is that a call to errors.Cause was removed in back-porting a fix from master, but IsNotAssigned does not do this in 1.22 as it does on master. This branch changes IsNotAssigned to call errors.Cause. Fixes https://bugs.launchpad.net/juju-core/+bug/1430049 (Review request: http://reviews.vapour.ws/r/1117/)
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters