FIx techs listing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adam Štrauch 2021-12-20 18:51:34 +01:00
parent 7c46fdd886
commit 2a545daedb
Signed by: cx
GPG key ID: 018304FFA8988F8D

View file

@ -319,7 +319,7 @@ func (c *Container) GetTechs() (apps.AppTechs, error) {
return techs, err
}
techsRaw := strings.Split(string(*stdouterr), "\n")
techsRaw := strings.Fields(string(*stdouterr))
for _, techRaw := range techsRaw {
techParts := strings.Split(techRaw, "-")
if len(techParts) == 2 {