Fix profile updates and validate configuration before apply
This commit is contained in:
parent
b552ec49cb
commit
2bf14948d7
1 changed files with 372 additions and 12 deletions
|
|
@ -30,7 +30,7 @@ func (a application) apply() error {
|
|||
return err
|
||||
}
|
||||
for _, unit := range units {
|
||||
name := a.config.unitProfile(unit.Name)
|
||||
name := a.config.activeProfile(unit)
|
||||
if name == "" || unit.Active != "active" {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue