Skip to content

Commit 16757cc

Browse files
authored
Merge pull request #3569 from callingmahendra/master
Fix for comment in example code snippet is inconsistent #3506
2 parents 94cd611 + 4595750 commit 16757cc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/examples-release-17/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args) throws IOException, ApiException {
4242
ApiClient client =
4343
ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader(kubeConfigPath))).build();
4444

45-
// set the global default api-client to the in-cluster one from above
45+
// set the global default api-client to the out-of-cluster one from above
4646
Configuration.setDefaultApiClient(client);
4747

4848
// the CoreV1Api loads default api-client from global configuration.

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args) throws IOException, ApiException {
4242
ApiClient client =
4343
ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader(kubeConfigPath))).build();
4444

45-
// set the global default api-client to the in-cluster one from above
45+
// set the global default api-client to the out-of-cluster one from above
4646
Configuration.setDefaultApiClient(client);
4747

4848
// the CoreV1Api loads default api-client from global configuration.

examples/examples-release-19/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args) throws IOException, ApiException {
4242
ApiClient client =
4343
ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader(kubeConfigPath))).build();
4444

45-
// set the global default api-client to the in-cluster one from above
45+
// set the global default api-client to the out-of-cluster one from above
4646
Configuration.setDefaultApiClient(client);
4747

4848
// the CoreV1Api loads default api-client from global configuration.

examples/examples-release-20/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args) throws IOException, ApiException {
4242
ApiClient client =
4343
ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader(kubeConfigPath))).build();
4444

45-
// set the global default api-client to the in-cluster one from above
45+
// set the global default api-client to the out-of-cluster one from above
4646
Configuration.setDefaultApiClient(client);
4747

4848
// the CoreV1Api loads default api-client from global configuration.

examples/examples-release-latest/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args) throws IOException, ApiException {
4242
ApiClient client =
4343
ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader(kubeConfigPath))).build();
4444

45-
// set the global default api-client to the in-cluster one from above
45+
// set the global default api-client to the out-of-cluster one from above
4646
Configuration.setDefaultApiClient(client);
4747

4848
// the CoreV1Api loads default api-client from global configuration.

0 commit comments

Comments
 (0)