rename things
This commit is contained in:
parent
a9e5003ab3
commit
8977e5122a
6 changed files with 5 additions and 7 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
nomad-skeleton-driver-plugin
|
||||
hello-driver
|
||||
nomad-driver-exec2
|
||||
exec2-driver
|
||||
|
|
3
go.mod
3
go.mod
|
@ -1,5 +1,4 @@
|
|||
// TODO: update the module path below to match your own repository
|
||||
module github.com/hashicorp/nomad-skeleton-driver-plugin
|
||||
module github.com/Alexis211/nomad-driver-exec2
|
||||
|
||||
go 1.19
|
||||
|
||||
|
|
5
main.go
5
main.go
|
@ -1,8 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
// TODO: update the path below to match your own repository
|
||||
"github.com/hashicorp/nomad-skeleton-driver-plugin/hello"
|
||||
exec2 "github.com/Alexis211/nomad-driver-exec2/exec2"
|
||||
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/nomad/plugins"
|
||||
|
@ -15,5 +14,5 @@ func main() {
|
|||
|
||||
// factory returns a new instance of a nomad driver plugin
|
||||
func factory(log hclog.Logger) interface{} {
|
||||
return hello.NewPlugin(log)
|
||||
return exec2.NewPlugin(log)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue