File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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.
8382func (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 )
You can’t perform that action at this time.
0 commit comments