Skip to content

Commit 7dcd301

Browse files
authored
chore: adding new lines before the interrupt msg (#5256)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
1 parent 109c506 commit 7dcd301

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/pkg/deploy/cloudformation/cloudformation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ func (cf CloudFormation) waitForSignalAndHandleInterrupt(ctx context.Context, ca
428428
}
429429
switch aws.StringValue(stackDescr.StackStatus) {
430430
case sdkcloudformation.StackStatusCreateInProgress:
431+
log.Infoln()
431432
log.Infof(`Received Interrupt for Ctrl-C.
432433
Pressing Ctrl-C again will exit immediately but the deletion of stack %s will continue
433434
`, stackName)
@@ -439,6 +440,7 @@ Pressing Ctrl-C again will exit immediately but the deletion of stack %s will co
439440
}
440441
return &ErrStackDeletedOnInterrupt{stackName: stackName}
441442
case sdkcloudformation.StackStatusUpdateInProgress:
443+
log.Infoln()
442444
log.Infof(`Received Interrupt for Ctrl-C.
443445
Pressing Ctrl-C again will exit immediately but stack %s rollback will continue
444446
`, stackName)

0 commit comments

Comments
 (0)