Skip to content

Commit

Permalink
fix(cmd/immuadmin): simplify logging when flushing and compacting cur…
Browse files Browse the repository at this point in the history
…rent db

Signed-off-by: Jeronimo Irazabal <jeronimo.irazabal@gmail.com>
  • Loading branch information
jeroiraz committed Apr 14, 2022
1 parent 7e66daa commit ad0eff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/immuadmin/command/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
return err
}

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

fmt.Fprintf(cmd.OutOrStdout(), "database index '%s' successfully compacted\n", args[0])
fmt.Fprintf(cmd.OutOrStdout(), "database index successfully compacted\n")
return nil
},
Args: cobra.ExactArgs(0),
Expand Down

0 comments on commit ad0eff4

Please sign in to comment.