Delta Between Two Patch Sets: environs/ec2/config.go
Issue 6209094 :
environs/ec2: add public bucket field to configuration.
Left Patch Set: environs/ec2: add public bucket field to configuration.
Right Patch Set: environs/ec2: add public bucket field to configuration.
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
[revision details]
environs/ec2/config.go
environs/ec2/config_test.go
environs/ec2/ec2.go
environs/ec2/export_test.go
environs/ec2/live_test.go
environs/ec2/local_test.go
environs/ec2/state.go
environs/ec2/storage.go
LEFT RIGHT
(Both sides are equal) 1 package ec2 1 package ec2
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "launchpad.net/goamz/aws" 5 "launchpad.net/goamz/aws"
6 "launchpad.net/juju/go/environs" 6 "launchpad.net/juju/go/environs"
7 "launchpad.net/juju/go/schema" 7 "launchpad.net/juju/go/schema"
8 ) 8 )
9 9
10 // providerConfig is a placeholder for any config information 10 // providerConfig is a placeholder for any config information
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading...
99 } 99 }
100 return &c, nil 100 return &c, nil
101 } 101 }
102 102
103 func maybeString(x interface{}, dflt string) string { 103 func maybeString(x interface{}, dflt string) string {
104 if x == nil { 104 if x == nil {
105 return dflt 105 return dflt
106 } 106 }
107 return x.(string) 107 return x.(string)
108 } 108 }
LEFT RIGHT