Skip to content

Commit 0f31f50

Browse files
author
Varun Deep Saini
committed
formatting
1 parent 3990bd0 commit 0f31f50

File tree

1 file changed

+0
-2
lines changed
  • bundle/direct/dresources

1 file changed

+0
-2
lines changed

bundle/direct/dresources/app.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ func (r *ResourceApp) WaitAfterCreate(ctx context.Context, config *apps.App) (*a
7979
return r.waitForApp(ctx, r.client, config.Name)
8080
}
8181

82-
// waitForDeletion waits for an app to be fully deleted.
8382
func (r *ResourceApp) waitForDeletion(ctx context.Context, name string) error {
8483
retrier := retries.New[struct{}](retries.WithTimeout(10*time.Minute), retries.WithRetryFunc(shouldRetry))
8584
_, err := retrier.Run(ctx, func(ctx context.Context) (*struct{}, error) {
@@ -97,7 +96,6 @@ func (r *ResourceApp) waitForDeletion(ctx context.Context, name string) error {
9796

9897
switch app.ComputeStatus.State {
9998
case apps.ComputeStateDeleting:
100-
log.Infof(ctx, "App %s is in DELETING state, waiting for it to be deleted...", name)
10199
return nil, retries.Continues("app is deleting")
102100
case apps.ComputeStateActive, apps.ComputeStateStopped, apps.ComputeStateError:
103101
err := fmt.Errorf("app %s was not deleted, current state: %s", name, app.ComputeStatus.State)

0 commit comments

Comments
 (0)