compose verbose takes context

This commit is contained in:
William Banfield
2022-12-01 11:17:03 -05:00
parent be8d980f83
commit eb46fdc720
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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")
},
})