Skip to content

Commit

Permalink
Reverted member addition in VaultManager
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfrancoisgratton committed Aug 4, 2024
1 parent 4fc141e commit b073bbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion current_package_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
0.1.2.1
9 changes: 2 additions & 7 deletions vault/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,18 @@ package vault

import (
"github.com/hashicorp/vault/api"
"os"
)

type VaultOperatorInfo struct {
Keys []string `json:"keys"`
}

type VaultManager struct {
client *api.Client
VaultAddress string
client *api.Client
}

func NewVaultManager(client *api.Client, addr string) *VaultManager {
if addr == "" {
addr = os.Getenv("VAULT_ADDRESS")
}
return &VaultManager{client: client, VaultAddress: addr}
return &VaultManager{client: client}
}

//
Expand Down

0 comments on commit b073bbc

Please sign in to comment.