From adab640b9b805fdae40ab554450446bb2d79c55b Mon Sep 17 00:00:00 2001 From: Jens Klose Date: Tue, 6 Jul 2021 20:43:12 +0200 Subject: [PATCH] raise the version --- backend/http.go | 9 --------- cmd/terrasec.go | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/backend/http.go b/backend/http.go index 606f702..6a9fea8 100644 --- a/backend/http.go +++ b/backend/http.go @@ -9,10 +9,6 @@ import ( "time" ) -const ( - version = "v0.1.0 terraform-backend-gopass" -) - type Http struct { Port string Kind string @@ -22,7 +18,6 @@ type Http struct { func (h Http) Run() (url string, err error) { mux := http.NewServeMux() mux.HandleFunc("/tfstate", h.handleState) - mux.HandleFunc("/", versionPrint) srv := &http.Server{} srv.Handler = mux @@ -48,10 +43,6 @@ func (h Http) Run() (url string, err error) { } } -func versionPrint(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, version) -} - func (h Http) handleState(response http.ResponseWriter, request *http.Request) { switch request.Method { case "LOCK": diff --git a/cmd/terrasec.go b/cmd/terrasec.go index 40315a1..18c8169 100644 --- a/cmd/terrasec.go +++ b/cmd/terrasec.go @@ -23,7 +23,7 @@ import ( ) const ( - version = "v0.1.0" + version = "v1.0.0" description = `Secure your secrets and the terraform state through encryption with your own keys and even within teams.` )