On the CLI, ensure listing ends with /.
This commit is contained in:
parent
fff201014d
commit
da2360c7f4
|
@ -37,6 +37,10 @@ func (c *ListCommand) Run(args []string) int {
|
|||
path = path[1:]
|
||||
}
|
||||
|
||||
if !strings.HasSuffix(path, "/") {
|
||||
path = path + "/"
|
||||
}
|
||||
|
||||
client, err := c.Client()
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf(
|
||||
|
|
Loading…
Reference in New Issue