Sync over

This commit is contained in:
Jeff Mitchell
2018-08-27 12:02:57 -04:00
parent fc66bb3d71
commit f1f6fb002d
2 changed files with 6 additions and 17 deletions

View File

@@ -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 + "/"
}