-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qemu: fix build and register by default
API changes had broken the build.
- Loading branch information
1 parent
4b08ef0
commit 7d28d34
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
package catalog | ||
|
||
import "github.com/hashicorp/nomad/drivers/rawexec" | ||
import ( | ||
"github.com/hashicorp/nomad/drivers/qemu" | ||
"github.com/hashicorp/nomad/drivers/rawexec" | ||
) | ||
|
||
// This file is where all builtin plugins should be registered in the catalog. | ||
// Plugins with build restrictions should be placed in the appropriate | ||
// register_XXX.go file. | ||
func init() { | ||
RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader) | ||
Register(qemu.PluginID, qemu.PluginConfig) | ||
} |