~ubuntu-branches/ubuntu/trusty/juju-core/trusty-proposed

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/environs/tools/tools.go

  • Committer: Package Import Robot
  • Author(s): Robie Basak
  • Date: 2014-07-02 16:45:07 UTC
  • mfrom: (1.1.25)
  • Revision ID: package-import@ubuntu.com-20140702164507-y6kotve2jhol0twi
Tags: 1.18.4+dfsg-0ubuntu0.14.04.1
* New upstream bugfix release (LP: #1329302).
* Repack with binary removed from source tarball. See
  debian/README.source for details.
* Copy new and enhanced dep8 tests (d/tests/*) from Utopic packaging.
* Add dependency on distro-info, so that Juju uses it for knowledge to deploy
  future releases instead of relying on its own hardcoded fallback
  (LP: #1325025).

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        "launchpad.net/juju-core/juju/arch"
15
15
        coretools "launchpad.net/juju-core/tools"
16
16
        "launchpad.net/juju-core/version"
 
17
        "launchpad.net/juju-core/version/ubuntu"
17
18
)
18
19
 
19
20
var logger = loggo.GetLogger("juju.environs.tools")
54
55
                seriesToSearch = []string{filter.Series}
55
56
        } else {
56
57
                logger.Debugf("no series specified when finding tools, looking for any")
57
 
                seriesToSearch = simplestreams.SupportedSeries()
 
58
                seriesToSearch = ubuntu.SupportedSeries()
58
59
        }
59
60
        toolsConstraint.Series = seriesToSearch
60
61
        return toolsConstraint, nil