Merge "Add CreateAliasVariation to BottomUpMutatorContext"
This commit is contained in:
commit
046cbd1590
1 changed files with 5 additions and 0 deletions
|
@ -216,6 +216,7 @@ type BottomUpMutatorContext interface {
|
|||
ReplaceDependencies(string)
|
||||
ReplaceDependenciesIf(string, blueprint.ReplaceDependencyPredicate)
|
||||
AliasVariation(variationName string)
|
||||
CreateAliasVariation(fromVariationName, toVariationName string)
|
||||
}
|
||||
|
||||
type bottomUpMutatorContext struct {
|
||||
|
@ -436,3 +437,7 @@ func (b *bottomUpMutatorContext) ReplaceDependenciesIf(name string, predicate bl
|
|||
func (b *bottomUpMutatorContext) AliasVariation(variationName string) {
|
||||
b.bp.AliasVariation(variationName)
|
||||
}
|
||||
|
||||
func (b *bottomUpMutatorContext) CreateAliasVariation(fromVariationName, toVariationName string) {
|
||||
b.bp.CreateAliasVariation(fromVariationName, toVariationName)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue