瀏覽代碼

etcdctl/ctlv3: remove unnecessary 'return'

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Gyu-Ho Lee 9 年之前
父節點
當前提交
f2d8929a09
共有 1 個文件被更改,包括 0 次插入 和 1 次删除
  1. 0 1
      etcdctl/ctlv3/command/compaction_command.go

+ 0 - 1
etcdctl/ctlv3/command/compaction_command.go

@@ -57,7 +57,6 @@ func compactionCommandFunc(cmd *cobra.Command, args []string) {
 	cancel()
 	if cerr != nil {
 		ExitWithError(ExitError, cerr)
-		return
 	}
 	fmt.Println("compacted revision", rev)
 }