~chris.macnaughton/mojo/error-output

« back to all changes in this revision

Viewing changes to mojo/juju/checks.py

  • Committer: Tom Haddon
  • Date: 2017-05-25 14:37:21 UTC
  • mfrom: (433.1.1 mojo)
  • Revision ID: tom.haddon@canonical.com-20170525143721-tyv3nkpt9wtx6eue
[hloeung,r=mthaddon] Updated juju-check to show Juju version for Juju environment

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
            raise JujuCheckError("controller version {} != model version {}".format(controller_version,
72
72
                                                                                    self.status.model_version()))
73
73
 
74
 
        return "The Juju controller and model are running the same version"
 
74
        return "The Juju controller and model are running the same version ({})".format(controller_version)
75
75
 
76
76
    @staticmethod
77
77
    def setup_argparse(ap):