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

Delta Between Two Patch Sets: juju/ec2/ec2.go

Issue 5432056: Skeleton framework for ec2 provider.
Left Patch Set: - Created 12 years, 4 months ago
Right Patch Set: - Created 12 years, 4 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 | « juju/ec2/Makefile ('k') | juju/ec2/ec2_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 1 package ec2
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "launchpad.net/juju/go/juju" 5 "launchpad.net/juju/go/juju"
6 "launchpad.net/juju/go/schema" 6 "launchpad.net/juju/go/schema"
7 "sync" 7 "sync"
8 ) 8 )
9 9
10 func init() { 10 func init() {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 func (e *environ) Instances() ([]juju.Instance, error) { 94 func (e *environ) Instances() ([]juju.Instance, error) {
95 e.mu.Lock() 95 e.mu.Lock()
96 defer e.mu.Unlock() 96 defer e.mu.Unlock()
97 var is []juju.Instance 97 var is []juju.Instance
98 for _, i := range e.instances { 98 for _, i := range e.instances {
99 is = append(is, i) 99 is = append(is, i)
100 } 100 }
101 return is, nil 101 return is, nil
102 } 102 }
LEFTRIGHT

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