Unverified Commit 03633773 by Shuwei Hao Committed by GitHub

Merge pull request #39 from haoshuwei/feat/bug-fix

fix bug for ack hybrid
parents 00dabbdf 767fb9e6
......@@ -117,6 +117,7 @@ func (o *ObjectStore) Init(config map[string]string) error {
if len(accessKeySecret) == 0 {
return errors.Errorf("IS_HYBRID set to true, but ALIBABA_CLOUD_ACCESS_KEY_SECRET environment variable is not set")
}
client, err = oss.New(endpoint, accessKeyID, accessKeySecret)
} else {
ramRole, err := getRamRole()
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment