commit | 91db07c20c36764a00a53c39b118ceee3b9be32d | [log] [tgz] |
---|---|---|
author | Marc Abramowitz <marc@marc-abramowitz.com> | Tue Aug 12 16:27:44 2014 -0700 |
committer | Marc Abramowitz <marc@marc-abramowitz.com> | Tue Aug 12 16:27:44 2014 -0700 |
tree | 38f6cddf733473b88857aecdff5eeff828d665d6 | |
parent | e4980c002a171fe13a2c79112de63663cc3201c7 [diff] |
PopulateApi return an error for unknown variant Before this, you could pass any variant name you wanted and if it didn't match "rackspace" or "openstack", then we'd return a blank ApiCriteria. This would cause code that's trying to talk to, say, Compute, to get the first service in the catalog, regardless of whether it's the one that they wanted.