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:
parent
a64aabb985
commit
c73357c3fc
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue