Skip to content

Commit

Permalink
Skip shoots with status.technicalID not set (gardener#10067)
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqes authored Jul 4, 2024
1 parent 7222ef5 commit b6b1a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gardenlet/app/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func cleanupDWDAccess(ctx context.Context, gardenClient client.Client, seedClien
var taskFns []flow.TaskFn

for _, shoot := range shootList.Items {
if !v1beta1helper.IsWorkerless(&shoot) || shoot.DeletionTimestamp != nil {
if !v1beta1helper.IsWorkerless(&shoot) || shoot.DeletionTimestamp != nil || shoot.Status.TechnicalID == "" {
continue
}

Expand Down

0 comments on commit b6b1a9e

Please sign in to comment.