mirror of
https://github.com/harness/drone.git
synced 2025-05-17 09:30:00 +08:00
remove println from logs
This commit is contained in:
parent
395f0d52f9
commit
fc46a5be0a
@ -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 {
|
func (s *RPC) Log(c context.Context, id string, line *rpc.Line) error {
|
||||||
entry := new(logging.Entry)
|
entry := new(logging.Entry)
|
||||||
entry.Data, _ = json.Marshal(line)
|
entry.Data, _ = json.Marshal(line)
|
||||||
fmt.Println(string(entry.Data))
|
|
||||||
s.logger.Write(c, id, entry)
|
s.logger.Write(c, id, entry)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user