Skip to content

Commit 2ca2f4b

Browse files
committed
remove unused log
1 parent 64102bd commit 2ca2f4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cli/support.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"bytes"
66
"encoding/json"
77
"fmt"
8-
"log"
98
"os"
109
"path/filepath"
1110
"strings"
@@ -169,10 +168,7 @@ func writeBundle(src *support.Bundle, dest *zip.Writer) error {
169168
}
170169

171170
func humanizeAgentLogs(ls []codersdk.WorkspaceAgentLog) string {
172-
var l log.Logger
173-
174171
var buf bytes.Buffer
175-
l.SetOutput(&buf)
176172
tw := tabwriter.NewWriter(&buf, 0, 2, 1, ' ', 0)
177173
for _, l := range ls {
178174
_, _ = fmt.Fprintf(tw, "%s\t[%s]\t%s\n",

0 commit comments

Comments
 (0)