[CP] fix access_key decrypt bug

This commit is contained in:
WenJinyu
2023-01-06 04:08:09 +00:00
committed by ob-robot
parent 82de09db7c
commit 889807b98b
3 changed files with 22 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ int ObBackupStorageInfo::parse_authorization_(const char *authorization)
}
} else if (0 == strncmp(ACCESS_KEY, token, strlen(ACCESS_KEY))) {
if (OB_FAIL(set_storage_info_field_(token, access_key_, sizeof(access_key_)))) {
LOG_WARN("failed to set access id", K(ret), K(token));
LOG_WARN("failed to set access key", K(ret), K(token));
}
} else {
ret = OB_INVALID_ARGUMENT;