We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5092b6 commit 2bb1d57Copy full SHA for 2bb1d57
src/cmd/cli/command/compose.go
@@ -122,10 +122,8 @@ func makeComposeUpCmd() *cobra.Command {
122
<-tailCtx.Done()
123
} else if !errors.Is(tailCtx.Err(), context.Canceled) {
124
return err // any error other than cancelation
125
- }
126
-
127
- // Tail got canceled; if it was by anything other than completion, prompt to show debugger
128
- if !errors.Is(context.Cause(tailCtx), errCompleted) {
+ } else if !errors.Is(context.Cause(tailCtx), errCompleted) {
+ // Tail got canceled; if it was by anything other than completion, prompt to show debugger
129
var failedServices []string
130
var errDeploymentFailed cli.ErrDeploymentFailed
131
if errors.As(context.Cause(tailCtx), &errDeploymentFailed) {
0 commit comments