Check UUID length is non-zero before adding a new host
This commit is contained in:
parent
7767ae497b
commit
fab8d604d2
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@
|
|||
}
|
||||
|
||||
- (BOOL) addHostToDiscovery:(Host *)host {
|
||||
if (![self isHostInDiscovery:host]) {
|
||||
if (host.uuid.length > 0 && ![self isHostInDiscovery:host]) {
|
||||
[_hostQueue addObject:host];
|
||||
if (shouldDiscover) {
|
||||
[_opQueue addOperation:[self createWorkerForHost:host]];
|
||||
|
|
|
|||
Loading…
Reference in a new issue