We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3513b08 commit f7829b0Copy full SHA for f7829b0
e2e/e2e.go
@@ -114,7 +114,12 @@ func (t *E2ETester) Start(ctx context.Context) (*E2EResult, error) {
114
log.Printf("created pull request %s", url)
115
116
// defer closing pull request and delete remote branch
117
- defer cleanUp(ctx, t, pullId, branchName) // nolint: errcheck
+ defer func() {
118
+ err := cleanUp(ctx, t, pullId, branchName)
119
+ if err != nil {
120
+ log.Printf("Failed to cleanup: %v", err)
121
+ }
122
+ }()
123
124
// wait for atlantis to respond to webhook and autoplan.
125
time.Sleep(2 * time.Second)
0 commit comments