Fix single technology image
It caused premature ending of the status processing in the admin.
This commit is contained in:
parent
7fe8dfcd9b
commit
c2e9b1cc18
@ -321,6 +321,11 @@ func (c *Container) GetTechs() (apps.AppTechs, error) {
|
|||||||
return techs, nil
|
return techs, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the directory doesn't exist it's single technology image
|
||||||
|
if strings.Contains(string(*stdouterr), "No such file or directory") {
|
||||||
|
return techs, nil
|
||||||
|
}
|
||||||
|
|
||||||
techsRaw := strings.Fields(string(*stdouterr))
|
techsRaw := strings.Fields(string(*stdouterr))
|
||||||
for _, techRaw := range techsRaw {
|
for _, techRaw := range techsRaw {
|
||||||
techParts := strings.Split(techRaw, "-")
|
techParts := strings.Split(techRaw, "-")
|
||||||
|
Loading…
Reference in New Issue
Block a user