Skip to content

Commit

Permalink
Fix inventory reference
Browse files Browse the repository at this point in the history
  • Loading branch information
oleewere committed May 13, 2019
1 parent dbe1ae9 commit b5daa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cm/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func CreateInventory(clusterName string, serviceRoleMap ServiceRolesMap, deploym
}

// EnrichInventoryWithHostsForCluster enrich inventory struct with hosts for a specific cluster
func (i Inventory) EnrichInventoryWithHostsForCluster(cluster string, agentHosts []Host) {
func (i *Inventory) EnrichInventoryWithHostsForCluster(cluster string, agentHosts []Host) {
clusterHosts := make([]Host, 0)
for _, host := range agentHosts {
if host.ClusterName == cluster {
Expand Down

0 comments on commit b5daa63

Please sign in to comment.