Skip to content

Commit

Permalink
chore(vmware): more verbose output for which datacenter cluster searc…
Browse files Browse the repository at this point in the history
…h fails (#427)
  • Loading branch information
bl4ko committed Jan 27, 2025
1 parent c261d47 commit 1000fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/source/vmware/vmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (vc *VmwareSource) CreateClusterDataCenterRelation(ctx context.Context, cli
finder.SetDatacenter(dc)
clusters, err := finder.ClusterComputeResourceList(ctx, "*")
if err != nil {
return fmt.Errorf("finder failed finding clusters for datacenter: %s", err)
return fmt.Errorf("finder failed finding clusters for datacenter %s: %s", dc.InventoryPath, err)
}
for _, cluster := range clusters {
vc.Cluster2Datacenter[cluster.Reference().Value] = dc.Reference().Value
Expand Down

0 comments on commit 1000fce

Please sign in to comment.