You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Eric Johnson (JIRA)" <ji...@apache.org> on 2016/04/30 16:07:12 UTC

[jira] [Resolved] (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 ]

Eric Johnson resolved LIBCLOUD-713.
-----------------------------------
    Resolution: Fixed

Fixed in commit f5537811d97a7b58a1222a2f43dfccfa6add3bc6

> 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
>          Components: Compute
>    Affects Versions: 0.15.1
>            Reporter: Webinav
>            Assignee: Eric Johnson
>            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)