Skip to content

Commit

Permalink
Expose the error (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakan Memisoglu authored and mergify[bot] committed Oct 15, 2019
1 parent e4e7708 commit 41709ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/blockstorage/vmware/vmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func NewProvider(config map[string]string) (blockstorage.Provider, error) {
soapCli := soap.NewClient(u, true)
ctx := context.Background()
cli, err := vim25.NewClient(ctx, soapCli)
if err != nil {
return nil, errors.Wrap(err, "Failed to create VIM client")
}
req := types.Login{
This: *cli.ServiceContent.SessionManager,
}
Expand Down

0 comments on commit 41709ab

Please sign in to comment.