Skip to content

Commit

Permalink
fix invalid admission name LimitPodHardAntiAffinityTopology
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoShuFeng committed Jan 23, 2018
1 parent ddea2dd commit 2a15776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/kubeapiserver/options/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var AllOrderedPlugins = []string{
lifecycle.PluginName, // NamespaceLifecycle
exists.PluginName, // NamespaceExists
scdeny.PluginName, // SecurityContextDeny
antiaffinity.PluginName, // LimitPodHardAntiAffinity
antiaffinity.PluginName, // LimitPodHardAntiAffinityTopology
initialresources.PluginName, // InitialResources
podpreset.PluginName, // PodPreset
limitranger.PluginName, // LimitRanger
Expand Down
2 changes: 1 addition & 1 deletion plugin/pkg/admission/antiaffinity/admission.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
kubeletapis "k8s.io/kubernetes/pkg/kubelet/apis"
)

const PluginName = "LimitPodHardAntiAffinity"
const PluginName = "LimitPodHardAntiAffinityTopology"

// Register registers a plugin
func Register(plugins *admission.Plugins) {
Expand Down

0 comments on commit 2a15776

Please sign in to comment.