From aa91d7884e7fef55b47d6a4905596f72a5ef1ac3 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期六, 30 五月 2020 17:43:03 +0800
Subject: [PATCH] fix sdkType unTar

---
 service/SysService.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service/SysService.go b/service/SysService.go
index d643667..1a1f14c 100644
--- a/service/SysService.go
+++ b/service/SysService.go
@@ -235,7 +235,7 @@
 	}
 
 	unPackFilePath := configPatchPath+"/"+identifier+ext
-	err := util.DeCompress(unPackFilePath, unPackPath)
+	err := util.UnTarGz(unPackFilePath, unPackPath)
 	if err !=nil {
 		logger.Debug("UnPack err:",err,"unPackFile:",unPackFilePath)
 		return false

--
Gitblit v1.8.0