temporarily disables drone logs from cli
This commit is contained in:
parent
e172de592f
commit
c046caf56e
1 changed files with 7 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue