Skip to content

Commit 9976e3c

Browse files
authored
mdbx, erigon backup: fix typo (#10031)
1 parent 49b7a97 commit 9976e3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

erigon-lib/kv/mdbx/kv_mdbx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ func (tx *MdbxTx) Commit() error {
10681068

10691069
latency, err := tx.tx.Commit()
10701070
if err != nil {
1071-
return fmt.Errorf("lable: %s, %w", tx.db.opts.label, err)
1071+
return fmt.Errorf("label: %s, %w", tx.db.opts.label, err)
10721072
}
10731073

10741074
if tx.db.opts.label == kv.ChainDB {

turbo/app/backup_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var (
5555
Required: true,
5656
}
5757
BackupLabelsFlag = cli.StringFlag{
58-
Name: "lables",
58+
Name: "labels",
5959
Usage: "Name of component to backup. Example: chaindata,txpool,downloader",
6060
}
6161
BackupTablesFlag = cli.StringFlag{

0 commit comments

Comments
 (0)