Merge pull request #168 from jonboulle/foo

fix ordering error in mergeCloudConfig
This commit is contained in:
Jonathan Boulle 2014-06-30 22:08:47 -07:00
commit 660feb59b9

View File

@ -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")