Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 committed Nov 18, 2021
1 parent 10e90cd commit 858ece9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions client/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c *Client) GetClusterVersion() (*version.Info, error) {
return nil, err
}
return info, nil

}

func (c *Client) ListKubeSystemPodsStatus() (bool, error) {
pods, err := c.client.CoreV1().Pods("kube-system").List(context.TODO(), metav1.ListOptions{})
Expand All @@ -203,5 +203,4 @@ func (c *Client) ListKubeSystemPodsStatus() (bool, error) {
}
}
return true, nil

}
2 changes: 1 addition & 1 deletion docs/design/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ metadata:
spec:
type: CLUSTERCHECK
action: PreGuest
```
```
2 changes: 1 addition & 1 deletion docs/design/plugin_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ metadata:
spec:
type: CLUSTERCHECK
action: PreGuest
```
```
## plugin使用步骤
Expand Down

0 comments on commit 858ece9

Please sign in to comment.