提交 ca5571d0 编写于 作者: M Minglei Jin

config: fix default configs

上级 a853d9d4
...@@ -266,6 +266,9 @@ int32_t taosSetTfsCfg(SConfig *pCfg); ...@@ -266,6 +266,9 @@ int32_t taosSetTfsCfg(SConfig *pCfg);
int32_t taosSetS3Cfg(SConfig *pCfg) { int32_t taosSetS3Cfg(SConfig *pCfg) {
tstrncpy(tsS3AccessKey, cfgGetItem(pCfg, "s3Accesskey")->str, TSDB_FQDN_LEN); tstrncpy(tsS3AccessKey, cfgGetItem(pCfg, "s3Accesskey")->str, TSDB_FQDN_LEN);
if (tsS3AccessKey[0] == '<') {
return 0;
}
char *colon = strchr(tsS3AccessKey, ':'); char *colon = strchr(tsS3AccessKey, ':');
if (!colon) { if (!colon) {
uError("invalid access key:%s", tsS3AccessKey); uError("invalid access key:%s", tsS3AccessKey);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册