Merge remote-tracking branch 'remotes/from/ce/release/2.x.x' into release/2.x.x
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run

This commit is contained in:
hc-github-team-secure-vault-core 2026-05-14 12:30:01 +00:00
commit eb40059836
2 changed files with 12 additions and 2 deletions

3
changelog/_14779.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
events (enterprise): Fix panic when replicating lease events.
```

View file

@ -105,12 +105,19 @@ func (x *EventReceived) BexprDatum() any {
}
}
sourcePluginMount := ""
isLocal := false
if x.PluginInfo != nil {
sourcePluginMount = x.PluginInfo.MountPath
isLocal = x.PluginInfo.IsLocal
}
return &EventReceivedBexpr{
EventType: x.EventType,
Operation: operation,
SourcePluginMount: x.PluginInfo.MountPath,
SourcePluginMount: sourcePluginMount,
DataPath: dataPath,
Namespace: x.Namespace,
SourcePluginIsLocal: x.PluginInfo.IsLocal,
SourcePluginIsLocal: isLocal,
}
}