Mercurial > gemma
changeset 3521:9538a0aeacde import_review
stretch_import: provide full information for summary
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 29 May 2019 12:30:04 +0200 |
parents | 6cdfc05fd6b0 |
children | b0c655e605ee |
files | pkg/imports/st.go |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/st.go Wed May 29 10:37:01 2019 +0200 +++ b/pkg/imports/st.go Wed May 29 12:30:04 2019 +0200 @@ -231,11 +231,7 @@ } feedback.Info("Import of stretch was successful") - summary := struct { - Stretch string `json:"stretch"` - }{ - Stretch: st.Name, - } + summary := st // provide full information for summary - return &summary, nil + return summary, nil }