parent
9143d2f186
commit
6927478ab9
|
@ -1145,9 +1145,9 @@ func (c *Core) remountSecretsEngine(ctx context.Context, src, dst namespace.Moun
|
|||
return nil
|
||||
}
|
||||
|
||||
// From an input path that has a relative namespace heirarchy followed by a mount point, return the full
|
||||
// From an input path that has a relative namespace hierarchy followed by a mount point, return the full
|
||||
// namespace of the mount point, along with the mount point without the namespace related prefix.
|
||||
// For example, in a heirarchy ns1/ns2/ns3/secret-mount, when currNs is ns1 and path is ns2/ns3/secret-mount,
|
||||
// For example, in a hierarchy ns1/ns2/ns3/secret-mount, when currNs is ns1 and path is ns2/ns3/secret-mount,
|
||||
// this returns the namespace object for ns1/ns2/ns3/, and the string "secret-mount"
|
||||
func (c *Core) splitNamespaceAndMountFromPath(currNs, path string) namespace.MountPathDetails {
|
||||
fullPath := currNs + path
|
||||
|
|
Loading…
Reference in New Issue