Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Addresses PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jcooklin committed Aug 30, 2016
1 parent 335cd6c commit f401d01
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions control/plugin/collector_proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ package plugin

import (
"errors"
"log"
"os"
"testing"
"time"

Expand Down
5 changes: 2 additions & 3 deletions control/plugin/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,8 @@ func init() {
// simpleFormatter is a logrus formatter that includes only the message.
type simpleFormatter struct{}

func (_ *simpleFormatter) Format(entry *log.Entry) ([]byte, error) {
func (*simpleFormatter) Format(entry *log.Entry) ([]byte, error) {
b := &bytes.Buffer{}
fmt.Fprintf(b, "%s", entry.Message)
b.WriteByte('\n')
fmt.Fprintf(b, "%s\n", entry.Message)
return b.Bytes(), nil
}
1 change: 0 additions & 1 deletion scheduler/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ package scheduler

import (
"errors"
"fmt"
"sync"

log "github.com/Sirupsen/logrus"
Expand Down

0 comments on commit f401d01

Please sign in to comment.