chore: remove unused phaseError type from discovery
This commit is contained in:
parent
3b23d16c23
commit
a4436c1b93
1 changed files with 0 additions and 5 deletions
|
|
@ -355,11 +355,6 @@ type discoveredResult struct {
|
||||||
Server *DiscoveredServer
|
Server *DiscoveredServer
|
||||||
}
|
}
|
||||||
|
|
||||||
type phaseError struct {
|
|
||||||
Phase string
|
|
||||||
Message string
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *Scanner) discoverAtPort(ctx context.Context, ip string, port int) *DiscoveredServer {
|
func (s *Scanner) discoverAtPort(ctx context.Context, ip string, port int) *DiscoveredServer {
|
||||||
probe := s.probeProxmoxService(ctx, ip, port)
|
probe := s.probeProxmoxService(ctx, ip, port)
|
||||||
if probe == nil || !probe.Positive {
|
if probe == nil || !probe.Positive {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue