Add new license callback init step for logical backends. (#6887)
This commit is contained in:
parent
8c5476fb0c
commit
006bab1e49
|
@ -483,6 +483,8 @@ func (c *Core) mountInternal(ctx context.Context, entry *MountEntry, updateStora
|
|||
|
||||
addPathCheckers(c, entry, backend, viewPath)
|
||||
|
||||
addLicenseCallback(c, backend)
|
||||
|
||||
c.setCoreBackend(entry, backend, view)
|
||||
|
||||
// If the mount is filtered or we are on a DR secondary we don't want to
|
||||
|
|
|
@ -17,6 +17,7 @@ func removeAuditPathChecker(*Core, *MountEntry) {}
|
|||
func addFilterablePath(*Core, string) {}
|
||||
func preprocessMount(*Core, *MountEntry, *BarrierView) (bool, error) { return false, nil }
|
||||
func clearIgnoredPaths(context.Context, *Core, logical.Backend, string) error { return nil }
|
||||
func addLicenseCallback(*Core, logical.Backend) {}
|
||||
|
||||
// ViewPath returns storage prefix for the view
|
||||
func (e *MountEntry) ViewPath() string {
|
||||
|
|
Loading…
Reference in New Issue