Restart container when tech changes
This commit is contained in:
parent
1c5b8d8f50
commit
863d857283
1 changed files with 6 additions and 0 deletions
|
@ -433,6 +433,12 @@ func (p *Processor) Update(appTemplate apps.App) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("failed to enable tech: %v", err)
|
||||
}
|
||||
|
||||
// We restart the container so everything can use the new tech
|
||||
err = container.Restart()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue