diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:33:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:33:38 (GMT) |
commit | 674db099c02dcbf39a336fa81b01deac3cc668ef (patch) | |
tree | e4e34b285dc6ff234b01fa19cca09f8a0e0d2e2a /session.go | |
parent | 6648578c53782af4334bb6e44b231d2cd7e22aa4 (diff) |
replaces FetchResult by ImportResult
Diffstat (limited to 'session.go')
-rw-r--r-- | session.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ func sessionImportRun(ctx ImportContext, done chan<- ImportResult) { done <- ImportResult{http.StatusInternalServerError, err.Error(), 0, 0} return } else if res.ResponseCode != http.StatusOK { - done <- ImportResult{res.ResponseCode, res.ErrorString, 0, 0} + done <- *res return } |