提交 19d96d5f 编写于 作者: P Peifeng Qiu 提交者: Adam Lee

gpcloud: Enable debug_curl for gpcheckcloud

Signed-off-by: NYuan Zhao <yuzhao@pivotal.io>
上级 8d251945
......@@ -73,12 +73,10 @@ S3Params InitConfig(const string& urlWithOptions) {
string content = s3Cfg.Get(configSection, "loglevel", "WARNING");
s3ext_loglevel = getLogLevel(content.c_str());
#ifndef S3_STANDALONE_CHECKCLOUD
content = s3Cfg.Get(configSection, "logtype", "INTERNAL");
s3ext_logtype = getLogType(content.c_str());
params.setDebugCurl(s3Cfg.GetBool(configSection, "debug_curl", "false"));
#endif
params.setCred(s3Cfg.Get(configSection, "accessid", ""), s3Cfg.Get(configSection, "secret", ""),
s3Cfg.Get(configSection, "token", ""));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册