Commit 4c6db251 authored by Cao Shufeng's avatar Cao Shufeng

log enabled admission controller in order

parent 04634cb1
......@@ -23,6 +23,7 @@ import (
"io/ioutil"
"reflect"
"sort"
"strings"
"sync"
"github.com/golang/glog"
......@@ -144,6 +145,9 @@ func (ps *Plugins) NewFromPlugins(pluginNames []string, configProvider ConfigPro
}
}
}
if len(pluginNames) != 0 {
glog.Infof("Loaded %d admission controller(s) successfully in the following order: %s.", len(pluginNames), strings.Join(pluginNames, ","))
}
return chainAdmissionHandler(handlers), nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment