mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Register exec driver plugin among some fixes
Namely, remove the `enabled` configuration flag, as it's specific to `raw_exec` driver. Also, pass resource limits to underlying call.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package catalog
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/nomad/drivers/exec"
|
||||
"github.com/hashicorp/nomad/drivers/qemu"
|
||||
"github.com/hashicorp/nomad/drivers/rawexec"
|
||||
)
|
||||
@@ -10,5 +11,6 @@ import (
|
||||
// register_XXX.go file.
|
||||
func init() {
|
||||
RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader)
|
||||
Register(exec.PluginID, exec.PluginConfig)
|
||||
Register(qemu.PluginID, qemu.PluginConfig)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user