Add better debug message to SetTechnology
All checks were successful
Unittests / unittests (push) Successful in 9s
Unittests / deploy-dev (push) Successful in 46s

This commit is contained in:
Adam Štrauch 2024-02-01 21:57:34 +01:00
parent bc4b6c7bff
commit 1c5b8d8f50
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -430,7 +430,7 @@ func (c *Container) SetTechnology(tech string, version string) error {
output, err = driver.Exec(c.App.Name, []string{"su", "app", "-c", "rosti " + tech + " " + version}, "", []string{}, false) output, err = driver.Exec(c.App.Name, []string{"su", "app", "-c", "rosti " + tech + " " + version}, "", []string{}, false)
} }
log.Printf("DEBUG: enable tech for %s output: %s", c.App.Name, string(*output)) log.Printf("DEBUG: enable tech %s/%s for %s output: %s", tech, version, c.App.Name, string(*output))
return err return err
} }