mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-13 05:41:35 +00:00
update gofmt
Kubernetes-commit: 2fc66ddaf254d37a9c655d23923786c9723972e6
This commit is contained in:
committed by
Kubernetes Publisher
parent
481bad6fea
commit
08bef91dc4
@@ -66,7 +66,7 @@ func Example_inClusterConfiguration() {
|
||||
|
||||
// Use the clientset to interact with the API.
|
||||
|
||||
pods, err := clientset.CoreV1().Pods("default").List(context.TODO(), metav1.ListOptions{})
|
||||
pods, err := clientset.CoreV1().Pods("default").List(context.TODO(), metav1.ListOptions{})
|
||||
if err != nil {
|
||||
fmt.Printf("Error encountered: %v\n", err)
|
||||
return
|
||||
@@ -107,7 +107,7 @@ func Example_outOfClusterConfiguration() {
|
||||
|
||||
// Use the clientset to interact with the API.
|
||||
|
||||
pods, err := clientset.CoreV1().Pods("default").List(context.TODO(), metav1.ListOptions{})
|
||||
pods, err := clientset.CoreV1().Pods("default").List(context.TODO(), metav1.ListOptions{})
|
||||
if err != nil {
|
||||
fmt.Printf("Error encountered: %v\n", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user