From 1f8274dfd34a1330d52e93bfe3f797385cc20574 Mon Sep 17 00:00:00 2001 From: Arkadiusz Galwas Date: Wed, 21 Aug 2024 07:55:22 +0200 Subject: [PATCH] Fix problem with checkin shoot existence --- internal/controller/runtime/fsm/runtime_fsm_take_snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/runtime/fsm/runtime_fsm_take_snapshot.go b/internal/controller/runtime/fsm/runtime_fsm_take_snapshot.go index 527859c1..823ad3f1 100644 --- a/internal/controller/runtime/fsm/runtime_fsm_take_snapshot.go +++ b/internal/controller/runtime/fsm/runtime_fsm_take_snapshot.go @@ -16,7 +16,7 @@ func sFnTakeSnapshot(ctx context.Context, m *fsm, s *systemState) (stateFn, *ctr var shoot gardener_api.Shoot err := m.ShootClient.Get(ctx, types.NamespacedName{ - Name: s.instance.Name, + Name: s.instance.Spec.Shoot.Name, Namespace: m.ShootNamesapace, }, &shoot)