| 24 | ) |
| 25 | |
| 26 | type imlClusterModule struct { |
| 27 | clusterService cluster.IClusterService `autowired:""` |
| 28 | settingService setting.ISettingService `autowired:""` |
| 29 | userNameService account.IAccountService `autowired:""` |
| 30 | transaction store.ITransaction `autowired:""` |
| 31 | } |
| 32 | |
| 33 | func (m *imlClusterModule) CheckCluster(ctx context.Context, address ...string) ([]*cluster_dto.Node, error) { |
| 34 | info, err := admin.Admin(address...).Info(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected