From f5991869fe8ea895faa7d187937e428e3994fb2a Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 16 六月 2020 15:54:54 +0800
Subject: [PATCH] fix version compare

---
 service/SdkInstall.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/service/SdkInstall.go b/service/SdkInstall.go
index dd0e809..ce8c083 100644
--- a/service/SdkInstall.go
+++ b/service/SdkInstall.go
@@ -289,9 +289,9 @@
 	cM,cEM := strconv.Atoi(curIVArr[1])
 	cL,cEL := strconv.Atoi(curIVArr[2])
 
-	dH,dEH := strconv.Atoi(curIVArr[0])
-	dM,dEM := strconv.Atoi(curIVArr[1])
-	dL,dEL := strconv.Atoi(curIVArr[2])
+	dH,dEH := strconv.Atoi(dstIVArr[0])
+	dM,dEM := strconv.Atoi(dstIVArr[1])
+	dL,dEL := strconv.Atoi(dstIVArr[2])
 	if cEH !=nil || cEM != nil || cEL != nil || dEH != nil ||dEM !=nil || dEL !=nil {
 		return false
 	}

--
Gitblit v1.8.0