Skip to content

Commit

Permalink
Merge pull request #38 from kramphub/feature/azure-dep-upgrade
Browse files Browse the repository at this point in the history
fix azure client creation
  • Loading branch information
amohabir authored Sep 10, 2022
2 parents 5d8c467 + f2778ff commit ff0b174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

### v1.11.4

- Fix an issue with azure client creation

### v1.11.3

- Upgrade dependencies, fix breaking changes
Expand Down
5 changes: 1 addition & 4 deletions cmd/kiya/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,7 @@ func getBackend(ctx context.Context, p *backend.Profile) (backend.Backend, error
if err != nil {
log.Fatal(err)
}
client, err := azsecrets.NewClient(p.VaultUrl, cred, nil)
if err != nil {
log.Fatal(err)
}
client := azsecrets.NewClient(p.VaultUrl, cred, nil)
return backend.NewAKV(client), nil
case "file":
return backend.NewFileStore(p.Location, p.ProjectID), nil
Expand Down

0 comments on commit ff0b174

Please sign in to comment.