Fix last commit

travis
Raphaël Vinot 2015-04-30 10:54:39 +02:00
parent 5656240673
commit 04fb779037
1 changed files with 2 additions and 2 deletions

View File

@ -113,10 +113,10 @@
globFct.poller(jobID, function(data){
scope.ipv4 = data[0];
scope.ipv6 = data[1];
if (scope.ipv4.length === 0){
if (!scope.ipv4){
scope.ipv4 = ['Unable to resolve in IPv4'];
}
if (scope.ipv6.length === 0){
if (!scope.ipv6){
scope.ipv6 = ['Unable to resolve in IPv6'];
}
});