blueprint: fix groups definition
Group has no version field, remove it.
This commit is contained in:
parent
705338c5b3
commit
93e7a26785
2 changed files with 8 additions and 3 deletions
|
|
@ -306,7 +306,7 @@ func (s *Store) GetBlueprint(name string, bp *blueprint.Blueprint, changed *bool
|
|||
bp.Modules = []blueprint.Package{}
|
||||
}
|
||||
if bp.Groups == nil {
|
||||
bp.Groups = []blueprint.Package{}
|
||||
bp.Groups = []blueprint.Group{}
|
||||
}
|
||||
if bp.Version == "" {
|
||||
bp.Version = "0.0.0"
|
||||
|
|
@ -337,7 +337,7 @@ func (s *Store) GetBlueprintCommitted(name string, bp *blueprint.Blueprint) bool
|
|||
bp.Modules = []blueprint.Package{}
|
||||
}
|
||||
if bp.Groups == nil {
|
||||
bp.Groups = []blueprint.Package{}
|
||||
bp.Groups = []blueprint.Group{}
|
||||
}
|
||||
if bp.Version == "" {
|
||||
bp.Version = "0.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue