We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 881b2e5 commit 00a8691Copy full SHA for 00a8691
2 files changed
plugins/device/cmd/example/cmd/main.go
@@ -4,8 +4,6 @@
4
package main
5
6
import (
7
- "context"
8
-
9
log "github.com/hashicorp/go-hclog"
10
11
"github.com/hashicorp/nomad/plugins"
@@ -19,6 +17,5 @@ func main() {
19
17
20
18
// factory returns a new instance of our example device plugin
21
func factory(log log.Logger) interface{} {
22
- ctx := context.Background()
23
- return example.NewNvidiaDevice(ctx, log)
+ return example.NewExampleDevice(log)
24
}
0 commit comments