Browse Source

由温仰发起的CORE SDK自动发布, BUILD_ID=103, 版本号:0.2.2

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 8 years ago
parent
commit
372d0c1e2b
2 changed files with 15 additions and 0 deletions
  1. 3 0
      ChangeLog.txt
  2. 12 0
      sdk/client_test.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2017-12-01 Version: 0.2.2
+1, Fix ineffassign problems
+
 2017-12-01 Version: 0.2.1
 1, Fix capitalizes the first letter in each word of header
 

+ 12 - 0
sdk/client_test.go

@@ -88,9 +88,21 @@ func testSetup() {
 		},
 	}
 	err = client.InitWithAccessKey("cn-hangzhou", config.AccessKeyId, config.AccessKeySecret)
+	if err != nil {
+		panic(err)
+	}
 	err = clientKeyPair.InitWithKeyPair("cn-hangzhou", config.PublicKeyId, config.PrivateKey, 3600)
+	if err != nil {
+		panic(err)
+	}
 	err = clientEcs.InitWithEcsInstance("cn-hangzhou", "conan")
+	if err != nil {
+		panic(err)
+	}
 	err = clientRoleArn.InitWithRoleArn("cn-hangzhou", config.ChildAK, config.ChildSecret, config.RoleArn, "clientTest")
+	if err != nil {
+		panic(err)
+	}
 }
 
 func testTearDown() {