rename things

This commit is contained in:
Alex 2022-11-28 12:24:07 +01:00
parent a9e5003ab3
commit 8977e5122a
Signed by: lx
GPG key ID: 0E496D15096376BE
6 changed files with 5 additions and 7 deletions

4
.gitignore vendored
View file

@ -1,2 +1,2 @@
nomad-skeleton-driver-plugin nomad-driver-exec2
hello-driver exec2-driver

3
go.mod
View file

@ -1,5 +1,4 @@
// TODO: update the module path below to match your own repository module github.com/Alexis211/nomad-driver-exec2
module github.com/hashicorp/nomad-skeleton-driver-plugin
go 1.19 go 1.19

View file

@ -1,8 +1,7 @@
package main package main
import ( import (
// TODO: update the path below to match your own repository exec2 "github.com/Alexis211/nomad-driver-exec2/exec2"
"github.com/hashicorp/nomad-skeleton-driver-plugin/hello"
"github.com/hashicorp/go-hclog" "github.com/hashicorp/go-hclog"
"github.com/hashicorp/nomad/plugins" "github.com/hashicorp/nomad/plugins"
@ -15,5 +14,5 @@ func main() {
// factory returns a new instance of a nomad driver plugin // factory returns a new instance of a nomad driver plugin
func factory(log hclog.Logger) interface{} { func factory(log hclog.Logger) interface{} {
return hello.NewPlugin(log) return exec2.NewPlugin(log)
} }