From ad1bdf53d70e7aee7a092602526ab380452338ac Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 13 Jul 2016 23:13:28 +0200 Subject: minor cleanup 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 } -- cgit v0.10.2