cmd/monday: Add 'update_prefix_config'
This commit is contained in:
parent
f14217baae
commit
face667347
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ func (monday monday) Run(context wisski_distillery.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err := logging.LogOperation(func() error {
|
||||||
|
return context.Exec("update_prefix_config")
|
||||||
|
}, context.IOStream, "Running update_prefix_config"); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
if monday.UpdateInstances {
|
if monday.UpdateInstances {
|
||||||
if err := logging.LogOperation(func() error {
|
if err := logging.LogOperation(func() error {
|
||||||
return context.Exec("blind_update")
|
return context.Exec("blind_update")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue