Browse Source

Merge pull request #8158 from gyuho/fix

etcdctl/ctlv3: remove unnecessary 'return'
Gyu-Ho Lee 8 years ago
parent
commit
cdc7d77beb
1 changed files with 0 additions and 1 deletions
  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()
 	cancel()
 	if cerr != nil {
 	if cerr != nil {
 		ExitWithError(ExitError, cerr)
 		ExitWithError(ExitError, cerr)
-		return
 	}
 	}
 	fmt.Println("compacted revision", rev)
 	fmt.Println("compacted revision", rev)
 }
 }