docs + fix test

Signed-off-by: Nikita Tarasov <nikita@mygento.ru>
This commit is contained in:
Nikita Tarasov 2016-04-17 20:05:51 +03:00
parent 007af250b4
commit 346bfed907

View File

@ -53,7 +53,7 @@ func init() {
trustID = os.Getenv("SWIFT_TRUST_ID")
container = os.Getenv("SWIFT_CONTAINER_NAME")
region = os.Getenv("SWIFT_REGION_NAME")
AuthVersion = strconv.Atoi(os.Getenv("SWIFT_AUTH_VERSION"))
AuthVersion, _ = strconv.Atoi(os.Getenv("SWIFT_AUTH_VERSION"))
insecureSkipVerify, _ = strconv.ParseBool(os.Getenv("SWIFT_INSECURESKIPVERIFY"))
secretKey = os.Getenv("SWIFT_SECRET_KEY")
accessKey = os.Getenv("SWIFT_ACCESS_KEY")