1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

remove println from logs

This commit is contained in:
Brad Rydzewski 2017-03-15 00:01:43 +08:00
parent 395f0d52f9
commit fc46a5be0a

View File

@ -223,7 +223,6 @@ func (s *RPC) Done(c context.Context, id string) error { return nil }
func (s *RPC) Log(c context.Context, id string, line *rpc.Line) error {
entry := new(logging.Entry)
entry.Data, _ = json.Marshal(line)
fmt.Println(string(entry.Data))
s.logger.Write(c, id, entry)
return nil
}