Fix single technology image
It caused premature ending of the status processing in the admin.
This commit is contained in:
parent
7fe8dfcd9b
commit
c2e9b1cc18
1 changed files with 5 additions and 0 deletions
|
@ -321,6 +321,11 @@ func (c *Container) GetTechs() (apps.AppTechs, error) {
|
|||
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))
|
||||
for _, techRaw := range techsRaw {
|
||||
techParts := strings.Split(techRaw, "-")
|
||||
|
|
Loading…
Reference in a new issue