Skip to content

Commit

Permalink
Show actual repo size instead of logical size (#123)
Browse files Browse the repository at this point in the history
Signed-off-by: Emruz Hossain <emruz@appscode.com>

Fixes stashed/stash#1212
Fixes stashed/stash#1140
  • Loading branch information
Emruz Hossain authored Oct 5, 2021
1 parent 5e77314 commit 322437d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/restic/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func (w *ResticWrapper) stats(snapshotID string) ([]byte, error) {
args = append(args, snapshotID)
}
args = w.appendMaxConnectionsFlag(args)
args = append(args, "--quiet", "--json")
args = append(args, "--quiet", "--json", "--mode", "raw-data")
args = w.appendCaCertFlag(args)

return w.run(Command{Name: ResticCMD, Args: args})
Expand Down

0 comments on commit 322437d

Please sign in to comment.