~thumper/juju-core/local-provider-aufs-default-off

« back to all changes in this revision

Viewing changes to environs/tools/validation.go

  • Committer: Roger Peppe
  • Date: 2013-09-20 18:46:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1863.
  • Revision ID: roger.peppe@canonical.com-20130920184647-ttszh312axplljoj
version: remove alternative versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                return nil, fmt.Errorf("required parameter sources not specified")
29
29
        }
30
30
        if params.Version == "" && params.Major == 0 {
31
 
                params.Version = version.CurrentNumber().String()
 
31
                params.Version = version.Current.Number.String()
32
32
        }
33
33
        var toolsConstraint *ToolsConstraint
34
34
        if params.Version == "" {