~wallyworld/juju-core/fast-lxc-everywhere

Viewing all changes in revision 2695.

[r=klyachin],[bug=1306548] cmd/juju: helpful message is repetitive

ubuntu@winton-02:~/src/launchpad.net/juju-core$ juju bootstrap
ERROR failed verification of local provider prerequisites:
juju-local must be installed to enable the local provider:

    sudo apt-get install juju-local
ERROR
juju-local must be installed to enable the local provider:

    sudo apt-get install juju-local

This message was printed twice because of the following code:
if err != nil {
        logger.Errorf("failed with error: %v", err)
        return nil, err
}

Such code was changed in some places to:
if err != nil {
        return nil, fmt.Errors("failed with error: %v", err)
}

https://codereview.appspot.com/95850044/

R=dimitern
R=dimitern

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: