diff --git a/.gitignore b/.gitignore index 2ba46c1..9a0870c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/runme.log *.iml *.swp diff --git a/Dockerfile b/Dockerfile index f983979..abbf5f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.3 MAINTAINER Rohith ADD bin/vault-sidekick /vault-sidekick diff --git a/main.go b/main.go index 3c5403d..718a55b 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ import ( const ( Prog = "vault-sidekick" - Version = "v0.0.9-1" + Version = "v0.0.9-2" ) func main() { diff --git a/utils.go b/utils.go index 94ac6e1..6606046 100644 --- a/utils.go +++ b/utils.go @@ -194,7 +194,7 @@ func processResource(rn *VaultResource, data map[string]interface{}) (err error) // step: check if we need to execute a command if rn.execPath != "" { - glog.V(10).Infof("executing the command: %s for resouce: %s", rn.execPath, rn.path) + glog.V(10).Infof("executing the command: %s for resource: %s", rn.execPath, filename) cmd := exec.Command(rn.execPath, filename) cmd.Start() timer := time.AfterFunc(options.execTimeout, func() {