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

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

Issue 6500089: environs/ec2: authorize internal traffic
Left Patch Set: Created 12 years, 7 months ago
Right Patch Set: environs/ec2: authorize internal traffic Created 12 years, 7 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/ec2/ec2.go ('k') | environs/jujutest/livetests.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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 } 393 }
394 394
395 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool { 395 func hasSecurityGroup(r amzec2.Reservation, g amzec2.SecurityGroup) bool {
396 for _, rg := range r.SecurityGroups { 396 for _, rg := range r.SecurityGroups {
397 if rg.Id == g.Id { 397 if rg.Id == g.Id {
398 return true 398 return true
399 } 399 }
400 } 400 }
401 return false 401 return false
402 } 402 }
LEFTRIGHT

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