mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-08 02:51:24 +01:00
vault: TODOs
This commit is contained in:
parent
e377869766
commit
801260bf0f
@ -187,6 +187,11 @@ func (b *SystemBackend) handleMount(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// handleUnmount is used to unmount a path
|
// handleUnmount is used to unmount a path
|
||||||
|
//
|
||||||
|
// TODO: Run a rollback operation
|
||||||
|
// TODO: Return an error if things go bad.
|
||||||
|
// TODO: Think through error scenario: umount should clean up everything
|
||||||
|
// and should fail if it can't. Perhaps add a "force" flag to YOLO it.
|
||||||
func (b *SystemBackend) handleUnmount(
|
func (b *SystemBackend) handleUnmount(
|
||||||
req *logical.Request, data *framework.FieldData) (*logical.Response, error) {
|
req *logical.Request, data *framework.FieldData) (*logical.Response, error) {
|
||||||
suffix := strings.TrimPrefix(req.Path, "mounts/")
|
suffix := strings.TrimPrefix(req.Path, "mounts/")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user