temporarily disables drone logs from cli

This commit is contained in:
Brad Rydzewski 2017-04-14 14:32:33 +02:00
parent e172de592f
commit c046caf56e

View file

@ -3,7 +3,6 @@ package main
import (
"encoding/json"
"fmt"
"log"
"strconv"
"github.com/cncd/pipeline/pipeline/rpc"
@ -13,11 +12,11 @@ import (
var buildLogsCmd = cli.Command{
Name: "logs",
Usage: "show build logs",
Action: func(c *cli.Context) {
if err := buildLogs(c); err != nil {
log.Fatalln(err)
Action: buildLogsDisabled,
}
},
func buildLogsDisabled(c *cli.Context) error {
return fmt.Errorf("Command temporarily disabled. See https://github.com/drone/drone/issues/2005")
}
func buildLogs(c *cli.Context) error {