Merge pull request #43254 from krousey/upgrades

Automatic merge from submit-queue (batch tested with PRs 43254, 43255, 43184, 42509)

Fix nil-map panic in AppArmor skip
This commit is contained in:
Kubernetes Submit Queue 2017-03-16 19:02:19 -07:00 committed by GitHub
commit 18582a611a

View File

@ -35,7 +35,7 @@ type AppArmorUpgradeTest struct {
func (AppArmorUpgradeTest) Name() string { return "apparmor-upgrade" }
func (AppArmorUpgradeTest) Skip(upgCtx UpgradeContext) bool {
var supportedImages map[string]bool
supportedImages := make(map[string]bool)
for _, d := range common.AppArmorDistros {
supportedImages[d] = true
}