coreos-cloudinit: fix ordering error in merge invocation
This commit is contained in:
parent
2be435dd83
commit
9673dbe12b
@ -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