diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-13 21:13:28 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-13 21:13:28 (GMT) |
commit | ad1bdf53d70e7aee7a092602526ab380452338ac (patch) | |
tree | 9cf49ac1f5b94615dc68a4a59406fce29a3eb280 | |
parent | 49b85d32a9c5a56191fff6ab554d1d748fbf9baf (diff) |
minor cleanup
-rw-r--r-- | rhimport/session.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rhimport/session.go b/rhimport/session.go index b0031b1..f260aaa 100644 --- a/rhimport/session.go +++ b/rhimport/session.go @@ -118,8 +118,7 @@ func sessionRun(ctx Context, done chan<- Result) { return } - err = NormalizeFile(&ctx) - if err != nil { + if err = NormalizeFile(&ctx); err != nil { done <- Result{ResponseCode: http.StatusInternalServerError, ErrorString: err.Error()} return } |