Skip to content

Commit

Permalink
Port fix over that ensures we use the right step-down context (#5290)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Sep 6, 2018
1 parent ee8b5b2 commit e0973d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/ha.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (c *Core) StepDown(httpCtx context.Context, req *logical.Request) (retErr e
return nil
}

ctx, cancel := context.WithCancel(c.activeContext)
ctx, cancel := context.WithCancel(namespace.RootContext(nil))
defer cancel()

go func() {
Expand Down

0 comments on commit e0973d4

Please sign in to comment.