mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 01:55:27 +00:00
removed dead comment code
This commit is contained in:
parent
a14d21f5b9
commit
50ab7309a7
1 changed files with 0 additions and 10 deletions
|
@ -244,16 +244,6 @@ func (r *Runner) Logs(build *common.Build) (io.ReadCloser, error) {
|
|||
}
|
||||
|
||||
return client.ContainerLogs(info.Id, logOptsTail)
|
||||
// rc, err := client.ContainerLogs(info.Id, logOptsTail)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// pr, pw := io.Pipe()
|
||||
// go func() {
|
||||
// defer rc.Close()
|
||||
// docker.StdCopy(pw, pw, rc)
|
||||
// }()
|
||||
// return pr, nil
|
||||
}
|
||||
|
||||
func cname(build *common.Build) string {
|
||||
|
|
Loading…
Reference in a new issue