You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Webinav (JIRA)" <ji...@apache.org> on 2015/05/20 13:39:01 UTC
[jira] [Updated] (LIBCLOUD-713) GCE driver list_sizes does not
return the price
[ https://issues.apache.org/jira/browse/LIBCLOUD-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Webinav updated LIBCLOUD-713:
-----------------------------
Affects Version/s: 0.15.1
> GCE driver list_sizes does not return the price
> -----------------------------------------------
>
> Key: LIBCLOUD-713
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-713
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.15.1
> Reporter: Webinav
> Priority: Minor
> Fix For: 0.15.1
>
>
> I am using libcloud 0.15.1 and trying to pullout the pricing details for GCE
> I noticed that there is a KeyError exception thrown which causes the price to be set as None
> Driver: GCE
> File: gce.py
> API: _to_node_size()
> Snippet:
> try:
> price = self._get_size_price(size_id=machine_type['name'])
> except KeyError:
> price = None
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)