Skip to content

Commit

Permalink
Fix for index out of bound problem
Browse files Browse the repository at this point in the history
  • Loading branch information
akgalwas committed Dec 2, 2024
1 parent 367e5c9 commit 237a8b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gardener/shoot/extender/extensions/extender.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ func NewExtensionsExtenderForPatch(auditLogData auditlogs.AuditLogData, extensio

func newExtensionsExtender(extensionsToApply []Extension, currentGardenerExtensions []gardener.Extension) func(runtime imv1.Runtime, shoot *gardener.Shoot) error {
return func(runtime imv1.Runtime, shoot *gardener.Shoot) error {
shoot.Spec.Extensions = currentGardenerExtensions

for _, ext := range extensionsToApply {
gardenerExtension, err := ext.Create(runtime, *shoot)
if err != nil {
Expand Down

0 comments on commit 237a8b8

Please sign in to comment.