Skip to content

Commit 3a37563

Browse files
committed
add auto detection
1 parent 8a3491d commit 3a37563

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
@@ -91,7 +91,7 @@ type resourceManager struct {
9191
}
9292

9393
func NewResourceManager(configFile string, useCdi bool) types.ResourceManager {
94-
return NewResourceManagerWithPluginMode(configFile, useCdi, true)
94+
return NewResourceManagerWithPluginMode(configFile, useCdi, detectPluginWatchMode(activeSockDir))
9595
}
9696

9797
func NewResourceManagerWithPluginMode(configFile string, useCdi, pluginMode bool) types.ResourceManager {

0 commit comments

Comments
 (0)