File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ package common
1717
1818import (
1919 "runtime"
20- "sort"
2120 "strings"
2221
2322 "github.com/ercole-io/ercole-agent/v2/config"
@@ -118,31 +117,6 @@ func (b *CommonBuilder) Run(hostData *model.HostData) {
118117
119118 b .runVirtualization (hostData )
120119
121- if hostData .ClusterMembershipStatus .VeritasClusterServer {
122- clusterinfos := make ([]model.ClusterInfo , 0 , 1 )
123-
124- vmnames := []string {}
125- vms := make ([]model.VMInfo , 0 , len (hostData .ClusterMembershipStatus .VeritasClusterHostnames ))
126-
127- for _ , vm := range hostData .ClusterMembershipStatus .VeritasClusterHostnames {
128- vmnames = append (vmnames , vm )
129-
130- vms = append (vms , model.VMInfo {
131- Hostname : vm ,
132- })
133- }
134-
135- sort .Strings (vmnames )
136-
137- clusterInfo := model.ClusterInfo {
138- Name : strings .Join (vmnames , "-" ),
139- VMs : vms ,
140- }
141-
142- clusterinfos = append (clusterinfos , clusterInfo )
143- hostData .Clusters = clusterinfos
144- }
145-
146120 b .runMySQL (hostData )
147121
148122 b .runPostgreSQL (hostData )
You can’t perform that action at this time.
0 commit comments