Skip to content

Commit ad0eff4

Browse files
committed
fix(cmd/immuadmin): simplify logging when flushing and compacting current db
Signed-off-by: Jeronimo Irazabal <[email protected]>
1 parent 7e66daa commit ad0eff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/immuadmin/command/database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
259259
return err
260260
}
261261

262-
fmt.Fprintf(cmd.OutOrStdout(), "database index '%s' successfully flushed\n", args[0])
262+
fmt.Fprintf(cmd.OutOrStdout(), "database index successfully flushed\n")
263263
return nil
264264
},
265265
Args: cobra.ExactArgs(0),
@@ -279,7 +279,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
279279
return err
280280
}
281281

282-
fmt.Fprintf(cmd.OutOrStdout(), "database index '%s' successfully compacted\n", args[0])
282+
fmt.Fprintf(cmd.OutOrStdout(), "database index successfully compacted\n")
283283
return nil
284284
},
285285
Args: cobra.ExactArgs(0),

0 commit comments

Comments
 (0)