Skip to content

Commit

Permalink
Fixed misnamed variable in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Witbeck authored and manusa committed May 20, 2021
1 parent 62e9127 commit 019c9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This would pick up default settings, reading your `kubeconfig` file from `~/.kub
Config kubeConfig = new ConfigBuilder()
.withMasterUrl("https://192.168.42.20:8443/")
.build()
try (final KubernetesClient client = new DefaultKubernetesClient(config)) {
try (final KubernetesClient client = new DefaultKubernetesClient(kubeConfig)) {
// Do stuff with client
}
```
Expand Down

0 comments on commit 019c9ee

Please sign in to comment.