diff pkg/controllers/srimports.go @ 1241:a45fa8943254

Sounding result import: Forgot to return the token temp file to the importer. Doh!
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 20 Nov 2018 18:05:19 +0100
parents d842d9d10872
children 1c0c9190fcf2
line wrap: on
line diff
--- a/pkg/controllers/srimports.go	Tue Nov 20 17:37:30 2018 +0100
+++ b/pkg/controllers/srimports.go	Tue Nov 20 18:05:19 2018 +0100
@@ -61,6 +61,7 @@
 		if err := misc.UnmakeTempFile(token, dst); err != nil {
 			return "", err
 		}
+		return dst, nil
 	}
 
 	return storeSoundingResult(req)