clientv3, ctl3, clientv3/integration: add compact response to compact

This commit is contained in:
Anthony Romano
2016-06-27 20:51:12 -07:00
parent c00e97ea49
commit 1c25aa6c48
5 changed files with 21 additions and 19 deletions

View File

@ -53,7 +53,7 @@ func compactionCommandFunc(cmd *cobra.Command, args []string) {
c := mustClientFromCmd(cmd)
ctx, cancel := commandCtx(cmd)
cerr := c.Compact(ctx, rev, opts...)
_, cerr := c.Compact(ctx, rev, opts...)
cancel()
if cerr != nil {
ExitWithError(ExitError, cerr)