Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Oct 1, 2024
1 parent bba2eb7 commit 9f020b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func validateKeys() ValidationHook {
return err
}
}
_, err := regexp.Compile(args[0])
_, err := regexp.Compile(args[1])
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion commands/kvs.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func validateKVS() ValidationHook {
return err
}
}
_, err := regexp.Compile(args[0])
_, err := regexp.Compile(args[1])
if err != nil {
return err
}
Expand Down

0 comments on commit 9f020b8

Please sign in to comment.