Do not check host minor version when add host
@@ -300,6 +300,14 @@ public class HostManagerImpl extends AbstractService implements HostManager, Man
return;
}
+ if (version.contains(".")) {
+ version = version.split("\\.")[0];
+ }
+
+ if (cversion.contains(".")) {
+ cversion = cversion.split("\\.")[0];
+ }
+
String mineVersion = String.format("%s;%s;%s", distro, release, version);
String currentVersion = String.format("%s;%s;%s", cdistro, crelease, cversion);
