Sfoglia il codice sorgente

etcdctl/ctlv3: remove unnecessary 'return'

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Gyu-Ho Lee 8 anni fa
parent
commit
f2d8929a09
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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)
 }