Skip to content

Commit ea3ed38

Browse files
authored
Update resources_manager.go
Add plugin mode
1 parent eb3291b commit ea3ed38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/resources/resources_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type resourceManager struct {
9090
useCdi bool
9191
}
9292

93-
func NewResourceManager(configFile string, useCdi bool) types.ResourceManager {
93+
func NewResourceManager(configFile string, useCdi, pluginMode bool bool) types.ResourceManager {
9494
if pluginMode {
9595
fmt.Println("Using Kubelet Plugin Registry Mode")
9696
} else {

0 commit comments

Comments
 (0)