mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-30 03:52:50 +00:00
compose verbose takes context
This commit is contained in:
@@ -266,7 +266,7 @@ func NewCLI() *CLI {
|
||||
Use: "logs",
|
||||
Short: "Shows the testnet logs",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return docker.ExecComposeVerbose(cli.testnet.Dir, "logs")
|
||||
return docker.ExecComposeVerbose(context.Background(), cli.testnet.Dir, "logs")
|
||||
},
|
||||
})
|
||||
|
||||
@@ -274,7 +274,7 @@ func NewCLI() *CLI {
|
||||
Use: "tail",
|
||||
Short: "Tails the testnet logs",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return docker.ExecComposeVerbose(cli.testnet.Dir, "logs", "--follow")
|
||||
return docker.ExecComposeVerbose(context.Background(), cli.testnet.Dir, "logs", "--follow")
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user