Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(193)

Unified Diff: nova/nova.go

Issue 8818043: goose/{errors,http}: fix error formatting (Closed)
Patch Set: goose/{errors,http}: fix error formatting Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « http/client.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nova/nova.go
=== modified file 'nova/nova.go'
--- nova/nova.go 2013-03-22 07:15:58 +0000
+++ nova/nova.go 2013-04-17 05:44:43 +0000
@@ -458,7 +458,7 @@
requestData := goosehttp.RequestData{ReqValue: req, RespValue: &resp}
err := c.client.SendRequest(client.POST, "compute", apiSecurityGroupRules, &requestData)
if err != nil {
- return nil, errors.Newf(err, "failed to create a rule for the security group with id: %s", ruleInfo.GroupId)
+ return nil, errors.Newf(err, "failed to create a rule for the security group with id: %v", ruleInfo.GroupId)
}
return &resp.SecurityGroupRule, nil
}
« no previous file with comments | « http/client.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b