Mercurial > gemma
diff pkg/imports/st.go @ 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 | bfde4f8dd323 |
children | 4c585b5d4fe8 |
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 }