fix linter error

pull/11632/head
Ilya Zuyev 2021-06-21 15:00:54 -07:00
parent 3ef400ddee
commit 476835b5a7
5 changed files with 6059 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -148,8 +148,7 @@ func APIServerVersionMatch(client *kubernetes.Clientset, expected string) error
// by container runtime restart for example and there is a gap before it comes back
func WaitForAPIServerStatus(cr command.Runner, to time.Duration, hostname string, port int) (state.State, error) {
var st state.State
var err error
err = wait.PollImmediate(200*time.Millisecond, to, func() (bool, error) {
err := wait.PollImmediate(200*time.Millisecond, to, func() (bool, error) {
st, err := APIServerStatus(cr, hostname, port)
if st == state.Stopped {
return false, nil

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long