mirror of
https://github.com/cuigh/swirl
synced 2025-06-26 18:16:50 +00:00
Add ability to scale services automatically
This commit is contained in:
@@ -254,7 +254,7 @@ func serviceScale(ctx web.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
err = docker.ServiceScale(name, uint64(count))
|
||||
err = docker.ServiceScale(name, 0, uint64(count))
|
||||
if err == nil {
|
||||
biz.Event.CreateService(model.EventActionScale, name, ctx.User())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user