Skip to content

Commit

Permalink
Fix the vmware technology URLs (#4978)
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 authored Dec 13, 2024
1 parent 949f0ce commit fa78ad9
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 fa78ad9

Please sign in to comment.