mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Sync over
This commit is contained in:
@@ -2,7 +2,6 @@ package command
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"path"
|
||||
"strings"
|
||||
|
||||
"github.com/mitchellh/cli"
|
||||
@@ -90,10 +89,6 @@ func (c *NamespaceDeleteCommand) Run(args []string) int {
|
||||
return OutputSecret(c.UI, secret)
|
||||
}
|
||||
|
||||
if c.flagNamespace != notSetNamespace {
|
||||
namespacePath = path.Join(c.flagNamespace, namespacePath)
|
||||
}
|
||||
|
||||
if !strings.HasSuffix(namespacePath, "/") {
|
||||
namespacePath = namespacePath + "/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user