mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +08:00
feat: 适配多容器应用 (#3832)
This commit is contained in:
parent
b40087c88c
commit
140cd564da
@ -397,7 +397,7 @@ func (a AppService) Install(ctx context.Context, req request.AppInstallCreate) (
|
|||||||
}
|
}
|
||||||
index++
|
index++
|
||||||
}
|
}
|
||||||
if app.Limit == 0 && appInstall.Name != serviceName {
|
if app.Limit == 0 && appInstall.Name != serviceName && len(servicesMap) == 1 {
|
||||||
servicesMap[appInstall.Name] = servicesMap[serviceName]
|
servicesMap[appInstall.Name] = servicesMap[serviceName]
|
||||||
delete(servicesMap, serviceName)
|
delete(servicesMap, serviceName)
|
||||||
serviceName = appInstall.Name
|
serviceName = appInstall.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user