Fix the invalid command in README.md (#193) · stern/stern@f6e76ba · GitHub
Skip to content

Commit

Permalink
Fix the invalid command in README.md (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored Sep 30, 2022
1 parent f6f4f64 commit f6e76ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ stern --template '{{.Message}} ({{.Namespace}}/{{color .PodColor .PodName}}/{{co
Output using a custom template with `parseJSON`:

```
stern . --template='{{.PodName}}/{{.ContainerName}} {{with $d := .Message | parseJSON}}[{{$d.level}}] {{$d.message}}{{end}}{{"\n"}}' backend
stern --template='{{.PodName}}/{{.ContainerName}} {{with $d := .Message | parseJSON}}[{{$d.level}}] {{$d.message}}{{end}}{{"\n"}}' backend
```

Trigger the interactive prompt to select an 'app.kubernetes.io/instance' label value:
Expand Down

0 comments on commit f6e76ba

Please sign in to comment.