mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
OSS part of taint-namespace-sys-test (#21950)
* OSS part of taint-namespace-sys-test * context should come from the caller
This commit is contained in:
@@ -509,6 +509,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) {
|
func (c *Core) decodeMountTable(ctx context.Context, raw []byte) (*MountTable, error) {
|
||||||
// Decode into mount table
|
// Decode into mount table
|
||||||
mountTable := new(MountTable)
|
mountTable := new(MountTable)
|
||||||
|
|||||||
Reference in New Issue
Block a user