Skip to content

Commit

Permalink
APPS-1488-generation-check-fix
Browse files Browse the repository at this point in the history
- asrestore doc update
  • Loading branch information
filkeith committed Feb 4, 2025
1 parent 1655d86 commit af142fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion cmd/asrestore/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ Restore Flags:
This option is mutually exclusive with --unique.
Incompatible with --mode=asbx.
-g, --no-generation Don't check the generation of records that already exist in the namespace.
Incompatible with --mode=asbx.
--ignore-record-error Ignore errors specific to records, not UDFs or indexes. The errors are:
AEROSPIKE_RECORD_TOO_BIG,
AEROSPIKE_KEY_MISMATCH,
Expand Down
3 changes: 1 addition & 2 deletions cmd/internal/flags/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ func (f *Restore) NewFlagSet() *pflag.FlagSet {
"Incompatible with --mode=asbx.")
flagSet.BoolVarP(&f.NoGeneration, "no-generation", "g",
false,
"Don't check the generation of records that already exist in the namespace.\n"+
"Incompatible with --mode=asbx.")
"Don't check the generation of records that already exist in the namespace.")
flagSet.BoolVar(&f.IgnoreRecordError, "ignore-record-error",
false,
"Ignore errors specific to records, not UDFs or indexes. The errors are:\n"+
Expand Down

0 comments on commit af142fc

Please sign in to comment.