Repository navigation
Commit ea7c496
authored
fix(backup): use correct pod name in event when pod is not found (#9552)
In isValidBackupRunning, when the elected backup pod is not found, the
event message was incorrectly referencing pod.Name which is empty since
the Get() call returned NotFound. Changed to use the actual pod name
from backup.Status.InstanceID.PodName which contains the name of the pod
that couldn't be found.
Signed-off-by: Armando Ruocco <[email protected]>1 parent 35664dd commit ea7c496
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| |||
0 commit comments