1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Jmespath typo fix (#6342)

Signed-off-by: Abhishek Kumar <abhishek22512@gmail.com>
This commit is contained in:
Abhishek Kumar 2023-02-18 15:38:24 +05:30 committed by GitHub
parent a64aabb985
commit c73357c3fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ func loadExpressions(cmd *cobra.Command, args []string, files []string) ([]strin
}
if len(expressions) == 0 {
fmt.Println("Reading from terminal input.")
fmt.Println("Enter a jmespatch expression and hit Ctrl+D.")
fmt.Println("Enter a jmespath expression and hit Ctrl+D.")
data, err := readFile(cmd.InOrStdin())
if err != nil {
return nil, fmt.Errorf("failed to read file STDIN: %v", err)

View file

@ -111,7 +111,7 @@ func loadFile(file string) ([]byte, error) {
func readQuery(cmd *cobra.Command) (string, error) {
fmt.Println("Reading from terminal input.")
fmt.Println("Enter a jmespatch expression and hit Ctrl+D.")
fmt.Println("Enter a jmespath expression and hit Ctrl+D.")
data, err := readFile(cmd.InOrStdin())
if err != nil {
return "", err