mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
docs(delete_command.go) document about recursive implies dir
This commit is contained in:
@@ -27,6 +27,7 @@ func (c *DeleteCommand) Apply(server raft.Server) (interface{}, error) {
|
||||
s, _ := server.StateMachine().(store.Store)
|
||||
|
||||
if c.Recursive {
|
||||
// recursive implies dir
|
||||
c.Dir = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user