예제 #1
0
// 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...)
}
예제 #2
0
// 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)
}