1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

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

@ -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")