// Merge the second command entry into the first and return a reference // to the first. func Merge(a, b *Config) { common.Merge(&a.Config, &b.Config) if b.Name != "" { a.Name = b.Name } a.Deployments = append(a.Deployments, b.Deployments...) }
// Merge the second command entry into the first and return a reference // to the first. func Merge(a, b *Config) { common.Merge(&a.Config, &b.Config) }