We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6bbe5 commit c66131eCopy full SHA for c66131e
lib/service/connect.go
@@ -430,7 +430,7 @@ func (process *TeleportProcess) firstTimeConnect(role types.SystemRole) (*Connec
430
// Instance always joins first, only try to persist host ID after
431
// successfully completing the instance join and persisting the state
432
// and identity.
433
- if err := process.storage.PersistAssignedHostID(process.ExitContext(), process.Config, identity.ID.HostID()); err != nil {
+ if err := process.storage.PersistAssignedHostID(process.GracefulExitContext(), process.Config, identity.ID.HostID()); err != nil {
434
return nil, trace.Wrap(err, "persisting host ID to storage")
435
}
436
0 commit comments