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:00 UTC
[jira] [Created] (LIBCLOUD-713) GCE driver list_sizes does not
return the price
Webinav created LIBCLOUD-713:
--------------------------------
Summary: 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
Reporter: Webinav
Priority: Minor
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)