Skip to content

Commit c673253

Browse files
author
Matthew Fisher
committed
Merge pull request #33 from bacongobbler/fixup-deis-logs-response
fix(controller): use django HttpResponse for logs
2 parents 852b0b0 + 68c68b8 commit c673253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/apps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func AppLogs(appID string, lines int) error {
168168

169169
// printLogs prints each log line with a color matched to its category.
170170
func printLogs(logs string) error {
171-
for _, log := range strings.Split(logs, `\\n\\n`) {
171+
for _, log := range strings.Split(logs, "\n") {
172172
category := "unknown"
173173
parts := strings.Split(strings.Split(log, " -- ")[0], " ")
174174
category = parts[0]

0 commit comments

Comments
 (0)