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