mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
commit
823e70a6b7
@ -141,7 +141,7 @@ func upgradeImages(ctx *cli.Context) error {
|
||||
if util.StringArrayContains(ctx.StringSlice("s"), service.Name) &&
|
||||
service.Start != "" && !service.OnlyHealthCheck {
|
||||
par := parser.CreateDockerRunOrImageParse("", "", service.Start, nil, event.GetTestLogger())
|
||||
par.ParseDockerun(strings.Split(service.Start, " "))
|
||||
par.ParseDockerun(service.Start)
|
||||
image := par.GetImage()
|
||||
if image.Name == "" {
|
||||
continue
|
||||
|
@ -529,7 +529,7 @@ func (m *ManagerService) ListServiceImages() []string {
|
||||
}
|
||||
|
||||
par := parser.CreateDockerRunOrImageParse("", "", svc.Start, nil, event.GetTestLogger())
|
||||
par.ParseDockerun(strings.Split(svc.Start, " "))
|
||||
par.ParseDockerun(svc.Start)
|
||||
logrus.Debugf("detect image: %s", par.GetImage().String())
|
||||
if par.GetImage().String() == "" {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user