Skip to content
Permalink
Browse files

Fix references to ContainerColor and PodColor in docs

  • Loading branch information...
hatchan committed Jun 3, 2019
1 parent 807830e commit bfab9db9681d9eb093a9f6ac55b04a4a4b908b79
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
@@ -98,7 +98,7 @@ functions](https://golang.org/pkg/text/template/#hdr-Functions)):
| func | arguments | description |
|---------|-----------------------|-----------------------------------------------------------------|
| `json` | `object` | Marshal the object and output it as a json text |
| `color` | `color.Color, string` | Wrap the text in color (.containerColor and .podColor provided) |
| `color` | `color.Color, string` | Wrap the text in color (.ContainerColor and .PodColor provided) |



@@ -158,7 +158,7 @@ stern --template '{{.Message}} ({{.Namespace}}/{{.PodName}}/{{.ContainerName}})'
Output using a custom template with stern-provided colors:

```
stern --template '{{.Message}} ({{.Namespace}}/{{color .podColor .PodName}}/{{color .containerColor .ContainerName}})' backend
stern --template '{{.Message}} ({{.Namespace}}/{{color .PodColor .PodName}}/{{color .ContainerColor .ContainerName}})' backend
```

## Completion

0 comments on commit bfab9db

Please sign in to comment.
You can’t perform that action at this time.