Merge pull request #168 from jonboulle/foo
fix ordering error in mergeCloudConfig
This commit is contained in:
commit
660feb59b9
@ -135,7 +135,7 @@ func main() {
|
|||||||
var cc *initialize.CloudConfig
|
var cc *initialize.CloudConfig
|
||||||
if ccm != nil && ccu != nil {
|
if ccm != nil && ccu != nil {
|
||||||
fmt.Println("Merging cloud-config from meta-data and user-data")
|
fmt.Println("Merging cloud-config from meta-data and user-data")
|
||||||
merged := mergeCloudConfig(*ccu, *ccm)
|
merged := mergeCloudConfig(*ccm, *ccu)
|
||||||
cc = &merged
|
cc = &merged
|
||||||
} else if ccm != nil && ccu == nil {
|
} else if ccm != nil && ccu == nil {
|
||||||
fmt.Println("Processing cloud-config from meta-data")
|
fmt.Println("Processing cloud-config from meta-data")
|
||||||
|
Loading…
Reference in New Issue
Block a user