Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

chore: remove unused phaseError type from discovery

rcourtman3045aa16fb13
diff --git a/pkg/discovery/discovery.go b/pkg/discovery/discovery.go
index 80105aa6b6..6e3a5be46f 100644
--- a/pkg/discovery/discovery.go
+++ b/pkg/discovery/discovery.go
@@ -355,11 +355,6 @@ type discoveredResult struct {
Server *DiscoveredServer
}
-type phaseError struct {
- Phase string
- Message string
-}
-
func (s *Scanner) discoverAtPort(ctx context.Context, ip string, port int) *DiscoveredServer {
probe := s.probeProxmoxService(ctx, ip, port)
if probe == nil || !probe.Positive {