Skip to content

Commit

Permalink
Fix the vmware technology URLs
Browse files Browse the repository at this point in the history
The top level here should really be vmware so we don't end up with
vsphere under vsphere

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Dec 13, 2024
1 parent 8fafbd8 commit 958b852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/vsphere/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (s *Service) detect(asset *inventory.Asset, conn *connection.VsphereConnect
Build: vSphereInfo.Build,
Kind: "api",
Runtime: "vsphere",
TechnologyUrlSegments: []string{"vsphere", "vsphere", vSphereInfo.Version + "-" + vSphereInfo.Build},
TechnologyUrlSegments: []string{"vmware", "vsphere", vSphereInfo.Version + "-" + vSphereInfo.Build},
}

id, err := conn.Identifier()
Expand Down
2 changes: 1 addition & 1 deletion providers/vsphere/resources/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func discoverDatacenter(conn *connection.VsphereConnection, datacenterResource *
Kind: "baremetal",
Runtime: "vsphere-host",
Family: []string{connection.Family},
TechnologyUrlSegments: []string{"vsphere", "esxi", esxiVersion.Version + "-" + esxiVersion.Build},
TechnologyUrlSegments: []string{"vmware", "esxi", esxiVersion.Version + "-" + esxiVersion.Build},
},
Connections: []*inventory.Config{clonedConfig}, // pass-in the parent connection config
Labels: map[string]string{
Expand Down

0 comments on commit 958b852

Please sign in to comment.