Skip to content

Commit

Permalink
remove useless err check
Browse files Browse the repository at this point in the history
  • Loading branch information
jroosing committed Sep 10, 2022
1 parent cf45453 commit f2778ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/kiya/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ func getBackend(ctx context.Context, p *backend.Profile) (backend.Backend, error
log.Fatal(err)
}
client := azsecrets.NewClient(p.VaultUrl, cred, nil)
if err != nil {
log.Fatal(err)
}
return backend.NewAKV(client), nil
case "file":
return backend.NewFileStore(p.Location, p.ProjectID), nil
Expand Down

0 comments on commit f2778ff

Please sign in to comment.