~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/environs/instances/instancetype.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        var itypes []InstanceType
104
104
 
105
105
        // Rules used to select instance types:
106
 
        // - non memory constraints like cpu-cores etc are always honoured
 
106
        // - non memory constraints like cores etc are always honoured
107
107
        // - if no mem constraint specified and instance-type not specified,
108
108
        //   try opinionated default with enough mem to run a server.
109
109
        // - if no matches and no mem constraint specified, try again and