mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-28 01:34:19 +00:00
update gofmt
This commit is contained in:
@@ -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