Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

state: use errors.Cause in IsNotAssigned #1789

Merged
merged 1 commit into from
Mar 10, 2015

Commits on Mar 10, 2015

  1. 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
    axw committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    396b5a5 View commit details
    Browse the repository at this point in the history