Merge pull request #1330 from hashicorp/sethvargo/clarify_delete
Clarify delete operation
This commit is contained in:
commit
bb0dd624e1
|
@ -41,7 +41,7 @@ func (c *DeleteCommand) Run(args []string) int {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Ui.Output(fmt.Sprintf("Success! Deleted '%s'", path))
|
c.Ui.Output(fmt.Sprintf("Success! Deleted '%s' if it existed", path))
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ and delete it. We can do this with `vault delete`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ vault delete secret/hello
|
$ vault delete secret/hello
|
||||||
Success! Deleted 'secret/hello'
|
Success! Deleted 'secret/hello' if it existed
|
||||||
```
|
```
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
Loading…
Reference in a new issue