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

Delta Between Two Patch Sets: environs/ec2/live_test.go

Issue 5699085: environs: fixes for gocheck changes.
Left Patch Set: Created 13 years, 1 month ago
Right Patch Set: environs: fixes for gocheck changes. Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « environs/ec2/image_test.go ('k') | environs/ec2/local_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 package ec2_test 1 package ec2_test
2 2
3 import ( 3 import (
4 "crypto/rand" 4 "crypto/rand"
5 "fmt" 5 "fmt"
6 "io" 6 "io"
7 amzec2 "launchpad.net/goamz/ec2" 7 amzec2 "launchpad.net/goamz/ec2"
8 . "launchpad.net/gocheck" 8 . "launchpad.net/gocheck"
9 "launchpad.net/juju/go/environs" 9 "launchpad.net/juju/go/environs"
10 "launchpad.net/juju/go/environs/ec2" 10 "launchpad.net/juju/go/environs/ec2"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 219 }
220 220
221 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool { 221 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool {
222 for _, rg := range r.SecurityGroups { 222 for _, rg := range r.SecurityGroups {
223 if rg.Id == g.Id { 223 if rg.Id == g.Id {
224 return true 224 return true
225 } 225 }
226 } 226 }
227 return false 227 return false
228 } 228 }
LEFTRIGHT

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