Skip to content

Commit

Permalink
raise the version
Browse files Browse the repository at this point in the history
  • Loading branch information
jensklose committed Jul 6, 2021
1 parent 6ab3c37 commit adab640
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions backend/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import (
"time"
)

const (
version = "v0.1.0 terraform-backend-gopass"
)

type Http struct {
Port string
Kind string
Expand All @@ -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

Expand All @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion cmd/terrasec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.`
)
Expand Down

0 comments on commit adab640

Please sign in to comment.