瀏覽代碼

Documentation: Minor typo fix

Signed-off-by: Geoff Levand <geoff@infradead.org>
Geoff Levand 9 年之前
父節點
當前提交
f1437a8932
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/op-guide/maintenance.md

+ 1 - 1
Documentation/op-guide/maintenance.md

@@ -83,7 +83,7 @@ Removing excessive keyspace data and defragmenting the backend database will put
 # get current revision
 # get current revision
 $ rev=$(ETCDCTL_API=3 etcdctl --endpoints=:2379 endpoint status --write-out="json" | egrep -o '"revision":[0-9]*' | egrep -o '[0-9]*')
 $ rev=$(ETCDCTL_API=3 etcdctl --endpoints=:2379 endpoint status --write-out="json" | egrep -o '"revision":[0-9]*' | egrep -o '[0-9]*')
 # compact away all old revisions
 # compact away all old revisions
-$ ETCDCTL_API=3 etdctl compact $rev
+$ ETCDCTL_API=3 etcdctl compact $rev
 compacted revision 1516
 compacted revision 1516
 # defragment away excessive space
 # defragment away excessive space
 $ ETCDCTL_API=3 etcdctl defrag
 $ ETCDCTL_API=3 etcdctl defrag