backport of commit 215687795d6b9ad2b3a3e2c7dbb70b01cc470e44 (#21954)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
This commit is contained in:
parent
8bde02c699
commit
af5132f100
|
@ -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) {
|
||||
// Decode into mount table
|
||||
mountTable := new(MountTable)
|
||||
|
|
Loading…
Reference in New Issue