summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-11-10 12:30:15 +0000
committerNick White <git@njw.name>2020-11-10 12:30:15 +0000
commit33f1726a4c9f8013dcde39e644281059d9766bc4 (patch)
tree46e7921a0c5959d072886368665011adf53b62e1 /internal
parentad7aaf490e78e969bb5495dfda06a33d2a176aec (diff)
gofmt
Diffstat (limited to 'internal')
-rw-r--r--internal/pipeline/pipeline.go4
-rw-r--r--internal/pipeline/put.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go
index f6598fd..280e4d2 100644
--- a/internal/pipeline/pipeline.go
+++ b/internal/pipeline/pipeline.go
@@ -640,8 +640,8 @@ func ProcessBook(msg bookpipeline.Qmsg, conn Pipeliner, process func(chan string
conn.Log("Failed to get logs ", err2)
logs = ""
}
- msg := fmt.Sprintf("To: %s\r\nFrom: %s\r\n" +
- "Subject: [bookpipeline] Error in wipeonly / preprocessing queue with %s\r\n\r\n" +
+ msg := fmt.Sprintf("To: %s\r\nFrom: %s\r\n"+
+ "Subject: [bookpipeline] Error in wipeonly / preprocessing queue with %s\r\n\r\n"+
" Fail message: %s\r\nFull log:\r\n%s\r\n",
ms.to, ms.from, bookname, err, logs)
host := fmt.Sprintf("%s:%s", ms.server, ms.port)
diff --git a/internal/pipeline/put.go b/internal/pipeline/put.go
index 8ada41f..4b38ea5 100644
--- a/internal/pipeline/put.go
+++ b/internal/pipeline/put.go
@@ -7,8 +7,8 @@ package pipeline
import (
"fmt"
"image"
- _ "image/png"
_ "image/jpeg"
+ _ "image/png"
"os"
"path/filepath"
)