mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-08 01:20:07 +08:00
feat: 解决安装应用失败的问题 (#2172)
This commit is contained in:
parent
db443a9f82
commit
c00d715b87
@ -361,7 +361,7 @@ func (a AppService) Install(ctx context.Context, req request.AppInstallCreate) (
|
|||||||
}
|
}
|
||||||
index++
|
index++
|
||||||
}
|
}
|
||||||
if app.Limit == 0 {
|
if app.Limit == 0 && appInstall.Name != serviceName {
|
||||||
servicesMap[appInstall.Name] = servicesMap[serviceName]
|
servicesMap[appInstall.Name] = servicesMap[serviceName]
|
||||||
delete(servicesMap, serviceName)
|
delete(servicesMap, serviceName)
|
||||||
serviceName = appInstall.Name
|
serviceName = appInstall.Name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user