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

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

Issue 6849044: environs/jujutest: simplify interface
Left Patch Set: environs/jujutest: simplify interface Created 12 years, 5 months ago
Right Patch Set: environs/jujutest: simplify interface Created 12 years, 5 months 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/dummy/environs_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
(Both sides are equal)
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 "io/ioutil" 7 "io/ioutil"
8 amzec2 "launchpad.net/goamz/ec2" 8 amzec2 "launchpad.net/goamz/ec2"
9 . "launchpad.net/gocheck" 9 . "launchpad.net/gocheck"
10 "launchpad.net/juju-core/environs" 10 "launchpad.net/juju-core/environs"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 } 391 }
392 392
393 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool { 393 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool {
394 for _, rg := range r.SecurityGroups { 394 for _, rg := range r.SecurityGroups {
395 if rg.Id == g.Id { 395 if rg.Id == g.Id {
396 return true 396 return true
397 } 397 }
398 } 398 }
399 return false 399 return false
400 } 400 }
LEFTRIGHT

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