[
https://issues.apache.org/jira/browse/LIBCLOUD-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265320#comment-15265320
]
ASF subversion and git services commented on LIBCLOUD-713:
----------------------------------------------------------
Commit f5537811d97a7b58a1222a2f43dfccfa6add3bc6 in libcloud's branch
refs/heads/trunk from [~erjohnso]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=f553781 ]
[google compute] fix missing pricing data
Closes LIBCLOUD-713
Closes #778
Signed-off-by: Eric Johnson <[email protected]>
> 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)