Add log messages when choosing CRI server
@@ -101,9 +101,10 @@ func initCRIService(ic *plugin.InitContext) (interface{}, error) {
var s server.CRIService
if os.Getenv("ENABLE_CRI_SANDBOXES") != "" {
- log.G(ctx).Warn("using experimental CRI Sandbox server")
+ log.G(ctx).Info("using experimental CRI Sandbox server")
s, err = sbserver.NewCRIService(c, client)
} else {
+ log.G(ctx).Info("using legacy CRI server")
s, err = server.NewCRIService(c, client)
}
if err != nil {
