Fix primary tech in case of single technology image
This commit is contained in:
parent
c2e9b1cc18
commit
a4beb9727e
@ -306,7 +306,8 @@ func (c *Container) GetPrimaryTech() (apps.AppTech, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return tech, errors.New("wrong number of path parts")
|
// Probably single technology image in case the output is empty
|
||||||
|
return tech, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTechs returns all techs available in the container
|
// GetTechs returns all techs available in the container
|
||||||
|
Loading…
Reference in New Issue
Block a user