coreos-cloudinit: fix ordering error in merge invocation

This commit is contained in:
Jonathan Boulle 2014-06-30 22:02:41 -07:00
parent 2be435dd83
commit 9673dbe12b

View File

@ -135,7 +135,7 @@ func main() {
var cc *initialize.CloudConfig
if ccm != nil && ccu != nil {
fmt.Println("Merging cloud-config from meta-data and user-data")
merged := mergeCloudConfig(*ccu, *ccm)
merged := mergeCloudConfig(*ccm, *ccu)
cc = &merged
} else if ccm != nil && ccu == nil {
fmt.Println("Processing cloud-config from meta-data")