Remove unneeded context parameter (#7057)
This commit is contained in:
parent
267d5e7e40
commit
d38468aacb
|
@ -1477,7 +1477,7 @@ func (i *IdentityStore) oidcPeriodicFunc(ctx context.Context) {
|
|||
var nextRun time.Time
|
||||
now := time.Now()
|
||||
|
||||
nsPaths := i.listNamespacePaths(ctx)
|
||||
nsPaths := i.listNamespacePaths()
|
||||
|
||||
if v, ok := i.oidcCache.Get(nilNamespace, "nextRun"); ok {
|
||||
nextRun = v.(time.Time)
|
||||
|
|
|
@ -3,11 +3,9 @@
|
|||
package vault
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/hashicorp/vault/helper/namespace"
|
||||
)
|
||||
|
||||
func (i *IdentityStore) listNamespacePaths(ctx context.Context) []string {
|
||||
func (i *IdentityStore) listNamespacePaths() []string {
|
||||
return []string{namespace.RootNamespace.Path}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue