Navigation Menu

Skip to content

Commit

Permalink
Merge pull request kubernetes#92509 from hasheddan/schedule-panic
Browse files Browse the repository at this point in the history
Fix assignment to nil map in e2e scheduling predicates
  • Loading branch information
k8s-ci-robot committed Jun 26, 2020
2 parents 5ff5dbb + df5ddc7 commit 5016c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/scheduling/predicates.go
Expand Up @@ -52,8 +52,8 @@ const (

var localStorageVersion = utilversion.MustParseSemantic("v1.8.0-beta.0")

// variable set in BeforeEach, never modified afterwards
var workerNodes sets.String
// variable populated in BeforeEach, never modified afterwards
var workerNodes = sets.String{}

type pausePodConfig struct {
Name string
Expand Down

0 comments on commit 5016c22

Please sign in to comment.