mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
backport of commit 215687795d (#21953)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f4f0b71e42
commit
f5f8c861a5
@@ -487,6 +487,11 @@ func (entry *MountEntry) Deserialize() map[string]interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
// DecodeMountTable is used for testing
|
||||
func (c *Core) DecodeMountTable(ctx context.Context, raw []byte) (*MountTable, error) {
|
||||
return c.decodeMountTable(ctx, raw)
|
||||
}
|
||||
|
||||
func (c *Core) decodeMountTable(ctx context.Context, raw []byte) (*MountTable, error) {
|
||||
// Decode into mount table
|
||||
mountTable := new(MountTable)
|
||||
|
||||
Reference in New Issue
Block a user