diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-28 12:24:07 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-28 12:25:48 +0100 |
commit | 8977e5122acdb41e5e04f9d32338baf27fda6f49 (patch) | |
tree | 95185008b499abf4449ee1490bed54a2c2f1e1ec | |
parent | a9e5003ab305675d6be3c0f032772d0de38df969 (diff) | |
download | nomad-driver-nix2-8977e5122acdb41e5e04f9d32338baf27fda6f49.tar.gz nomad-driver-nix2-8977e5122acdb41e5e04f9d32338baf27fda6f49.zip |
rename things
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | exec2/driver.go (renamed from hello/driver.go) | 0 | ||||
-rw-r--r-- | exec2/handle.go (renamed from hello/handle.go) | 0 | ||||
-rw-r--r-- | exec2/state.go (renamed from hello/state.go) | 0 | ||||
-rw-r--r-- | go.mod | 3 | ||||
-rw-r--r-- | main.go | 5 |
6 files changed, 5 insertions, 7 deletions
@@ -1,2 +1,2 @@ -nomad-skeleton-driver-plugin -hello-driver +nomad-driver-exec2 +exec2-driver diff --git a/hello/driver.go b/exec2/driver.go index 312cb76..312cb76 100644 --- a/hello/driver.go +++ b/exec2/driver.go diff --git a/hello/handle.go b/exec2/handle.go index 6dfb976..6dfb976 100644 --- a/hello/handle.go +++ b/exec2/handle.go diff --git a/hello/state.go b/exec2/state.go index 30f10d7..30f10d7 100644 --- a/hello/state.go +++ b/exec2/state.go @@ -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 @@ -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) } |