test
Signed-off-by: Nikita Tarasov <nikita@mygento.ru>
This commit is contained in:
parent
e6f8d7c28e
commit
bcb7989fca
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ func init() {
|
||||||
trustID string
|
trustID string
|
||||||
container string
|
container string
|
||||||
region string
|
region string
|
||||||
|
AuthVersion int
|
||||||
insecureSkipVerify bool
|
insecureSkipVerify bool
|
||||||
secretKey string
|
secretKey string
|
||||||
accessKey string
|
accessKey string
|
||||||
|
@ -52,6 +53,7 @@ func init() {
|
||||||
trustID = os.Getenv("SWIFT_TRUST_ID")
|
trustID = os.Getenv("SWIFT_TRUST_ID")
|
||||||
container = os.Getenv("SWIFT_CONTAINER_NAME")
|
container = os.Getenv("SWIFT_CONTAINER_NAME")
|
||||||
region = os.Getenv("SWIFT_REGION_NAME")
|
region = os.Getenv("SWIFT_REGION_NAME")
|
||||||
|
AuthVersion = os.Getenv("SWIFT_AUTH_VERSION")
|
||||||
insecureSkipVerify, _ = strconv.ParseBool(os.Getenv("SWIFT_INSECURESKIPVERIFY"))
|
insecureSkipVerify, _ = strconv.ParseBool(os.Getenv("SWIFT_INSECURESKIPVERIFY"))
|
||||||
secretKey = os.Getenv("SWIFT_SECRET_KEY")
|
secretKey = os.Getenv("SWIFT_SECRET_KEY")
|
||||||
accessKey = os.Getenv("SWIFT_ACCESS_KEY")
|
accessKey = os.Getenv("SWIFT_ACCESS_KEY")
|
||||||
|
@ -85,6 +87,7 @@ func init() {
|
||||||
domainID,
|
domainID,
|
||||||
trustID,
|
trustID,
|
||||||
region,
|
region,
|
||||||
|
AuthVersion,
|
||||||
container,
|
container,
|
||||||
root,
|
root,
|
||||||
insecureSkipVerify,
|
insecureSkipVerify,
|
||||||
|
|
Loading…
Reference in a new issue